https://bugs.llvm.org/show_bug.cgi?id=38922
Bug ID: 38922
Summary: XRay attributes don't get emitted when
-fno-xray-instrument is provided
Product: XRay
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Clang
Assignee: dber...@google.com
Reporter: dber...@google.com
CC: llvm-bugs@lists.llvm.org
This causes issues when doing thinlto builds, where one module is built with
-fno-xray-instrument while another is built with -fxray-instrument, then at
link-time the re-lowering of functions that should have been marked "never
instrument" may suddenly get instrumented. Instead of deciding at the front-end
whether to emit the attribute, we should instead handle the attribute in LLVM
IR properly in the back-end if we're emitting XRay instrumented binaries.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs