llvm.org GIT mirror llvm / 6144eee
Merging r292516: ------------------------------------------------------------------------ r292516 | rserge | 2017-01-19 12:24:23 -0800 (Thu, 19 Jan 2017) | 14 lines [XRay][Arm] Repair XRay table emission on Arm32 and add tests to identify such problem earlier Summary: Emission of XRay table was occasionally disabled for Arm32, but this bug was not then detected because earlier (also by mistake) testing of XRay was occasionally disabled on 32-bit Arm targets. This patch should fix that problem and detect such problems in the future. This patch is one of a series, see also - https://reviews.llvm.org/D28623 Reviewers: rengolin, dberris Reviewed By: dberris Subscribers: llvm-commits, aemerson, rengolin, dberris, iid_iunknown Differential Revision: https://reviews.llvm.org/D28624 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@293295 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 3 years ago
3 changed file(s) with 15 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
162162
163163 // Emit the rest of the function body.
164164 EmitFunctionBody();
165
166 // Emit the XRay table for this function.
167 emitXRayTable();
165168
166169 // If we need V4T thumb mode Register Indirect Jump pads, emit them.
167170 // These are created per function, rather than per TU, since it's
2222 ; CHECK-LABEL: Ltmp1:
2323 ; CHECK-NEXT: bx lr
2424 }
25 ; CHECK: .p2align 4
26 ; CHECK-NEXT: .long {{.*}}Lxray_synthetic_0
27 ; CHECK-NEXT: .section {{.*}}xray_instr_map{{.*}}
28 ; CHECK-LABEL: Lxray_synthetic_0:
29 ; CHECK: .long {{.*}}Lxray_sled_0
30 ; CHECK: .long {{.*}}Lxray_sled_1
2222 ; CHECK-LABEL: Ltmp1:
2323 ; CHECK-NEXT: bx lr
2424 }
25 ; CHECK: .p2align 4
26 ; CHECK-NEXT: .long {{.*}}Lxray_synthetic_0
27 ; CHECK-NEXT: .section {{.*}}xray_instr_map{{.*}}
28 ; CHECK-LABEL: Lxray_synthetic_0:
29 ; CHECK: .long {{.*}}Lxray_sled_0
30 ; CHECK: .long {{.*}}Lxray_sled_1