[PATCH] D37373: [XRay][CodeGen] Use PIC-friendly code in XRay sleds and remove synthetic references in .text
Dean Michael Berris via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 1 00:28:22 PDT 2017
dberris created this revision.
Herald added subscribers: javed.absar, sdardis.
This is a re-roll of https://reviews.llvm.org/D36615 which uses PLT relocations in the back-end
to the call to __xray_CustomEvent() when building in -fPIC and
-fxray-instrument mode.
Depends on https://reviews.llvm.org/D37372 for PLT entry addition in the definition of the
__xray_CustomEvent trampoline.
https://reviews.llvm.org/D37373
Files:
include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/Target/X86/X86MCInstLower.cpp
test/CodeGen/AArch64/xray-attribute-instrumentation.ll
test/CodeGen/AArch64/xray-tail-call-sled.ll
test/CodeGen/ARM/xray-armv6-attribute-instrumentation.ll
test/CodeGen/ARM/xray-armv7-attribute-instrumentation.ll
test/CodeGen/Mips/xray-section-group.ll
test/CodeGen/X86/xray-attribute-instrumentation.ll
test/CodeGen/X86/xray-custom-log.ll
test/CodeGen/X86/xray-log-args.ll
test/CodeGen/X86/xray-loop-detection.ll
test/CodeGen/X86/xray-section-group.ll
test/CodeGen/X86/xray-tail-call-sled.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37373.113515.patch
Type: text/x-patch
Size: 25575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170901/12b6ce2e/attachment.bin>
More information about the llvm-commits
mailing list