]> granicus.if.org Git - llvm/commitdiff
Revert "[XRay][Arm] Repair XRay table emission on Arm32 and add tests to identify...
authorRenato Golin <renato.golin@linaro.org>
Wed, 18 Jan 2017 09:08:43 +0000 (09:08 +0000)
committerRenato Golin <renato.golin@linaro.org>
Wed, 18 Jan 2017 09:08:43 +0000 (09:08 +0000)
This reverts commit r292210, as it broke the Thumb buldbot with:

clang-5.0: error: the clang compiler does not support '-fxray-instrument
on thumbv7-unknown-linux-gnueabihf'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292357 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMAsmPrinter.cpp
test/CodeGen/ARM/xray-armv6-attribute-instrumentation.ll
test/CodeGen/ARM/xray-armv7-attribute-instrumentation.ll

index 95db35ce8ffbc9f69c0c421e1384b9e423a0362a..8ec9cb02813cdb6a2ecff2edca096456eb389c38 100644 (file)
@@ -164,9 +164,6 @@ bool ARMAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
   // Emit the rest of the function body.
   EmitFunctionBody();
 
-  // Emit the XRay table for this function.
-  emitXRayTable();
-
   // If we need V4T thumb mode Register Indirect Jump pads, emit them.
   // These are created per function, rather than per TU, since it's
   // relatively easy to exceed the thumb branch range within a TU.
index 93c3cb14fb73848e00bb33c8f02dafe67af5594e..8a8c667b2d8d6f9b422500782de3bd0c5d57cc48 100644 (file)
@@ -23,9 +23,3 @@ define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always"
 ; CHECK-LABEL: Ltmp1:
 ; CHECK-NEXT:  bx      lr
 }
-; CHECK:       .p2align 4
-; CHECK-NEXT:  .long {{.*}}Lxray_synthetic_0
-; CHECK-NEXT:  .section {{.*}}xray_instr_map{{.*}}
-; CHECK-LABEL: Lxray_synthetic_0:
-; CHECK:       .long {{.*}}Lxray_sled_0
-; CHECK:       .long {{.*}}Lxray_sled_1
index d14590b88679463bfd76422d70d5e494c5947384..07852cd68796210bf068057ff08044094620e3a9 100644 (file)
@@ -23,9 +23,3 @@ define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always"
 ; CHECK-LABEL: Ltmp1:
 ; CHECK-NEXT:  bx lr
 }
-; CHECK:       .p2align 4
-; CHECK-NEXT:  .long {{.*}}Lxray_synthetic_0
-; CHECK-NEXT:  .section {{.*}}xray_instr_map{{.*}}
-; CHECK-LABEL: Lxray_synthetic_0:
-; CHECK:       .long {{.*}}Lxray_sled_0
-; CHECK:       .long {{.*}}Lxray_sled_1