summaryrefslogtreecommitdiff
path: root/test/CodeGen/Mips
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-09-04 05:34:58 +0000
committerDean Michael Berris <dberris@google.com>2017-09-04 05:34:58 +0000
commitcfbb872e5e27d6cd1ccb51cb1a170210427c76b0 (patch)
tree1cdda668382a5b88cba98ac05112a5b3c34d9da2 /test/CodeGen/Mips
parent911f6bba338239f181e726aa5493e68ffa2a88d0 (diff)
[XRay][CodeGen] Use PIC-friendly code in XRay sleds and remove synthetic references in .text
Summary: This is a re-roll of D36615 which uses PLT relocations in the back-end to the call to __xray_CustomEvent() when building in -fPIC and -fxray-instrument mode. Reviewers: pcc, djasper, bkramer Subscribers: sdardis, javed.absar, llvm-commits Differential Revision: https://reviews.llvm.org/D37373 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Mips')
-rw-r--r--test/CodeGen/Mips/xray-section-group.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Mips/xray-section-group.ll b/test/CodeGen/Mips/xray-section-group.ll
index d87f178ec4b..f122215c641 100644
--- a/test/CodeGen/Mips/xray-section-group.ll
+++ b/test/CodeGen/Mips/xray-section-group.ll
@@ -14,7 +14,7 @@
define i32 @foo() nounwind noinline uwtable "function-instrument"="xray-always" {
; CHECK: .section .text.foo,"ax",@progbits
ret i32 0
-; CHECK: .section xray_instr_map,"a",@progbits
+; CHECK: .section xray_instr_map,"awo",@progbits,.text.foo,unique,1
}
; CHECK-OBJ: Section {
@@ -24,7 +24,7 @@ $bar = comdat any
define i32 @bar() nounwind noinline uwtable "function-instrument"="xray-always" comdat($bar) {
; CHECK: .section .text.bar,"axG",@progbits,bar,comdat
ret i32 1
-; CHECK: .section xray_instr_map,"aG",@progbits,bar,comdat
+; CHECK: .section xray_instr_map,"aGwo",@progbits,bar,comdat,.text.bar,unique,2
}
; CHECK-OBJ: Section {