[llvm-bugs] [Bug 38922] New: XRay attributes don't get emitted when -fno-xray-instrument is provided

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 12 23:45:43 PDT 2018


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: dberris at google.com
          Reporter: dberris at google.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180913/b6fafefe/attachment-0001.html>


More information about the llvm-bugs mailing list