[llvm-bugs] [Bug 43822] New: __sanitizer_cov_trace_pc_guard not inserted when cfi enabled

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Oct 26 22:51:06 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43822

            Bug ID: 43822
           Summary: __sanitizer_cov_trace_pc_guard not inserted when cfi
                    enabled
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: joeyjiaojg at 163.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Hi,
When cfi is enabled in Android tree like android 10,
__sanitizer_cov_trace_pc_guard is not inserted into final shared library.
And if I set cfi: false in Android.bp, the "bl __sanitizer_cov_trace_pc_guard"
appears.

Can you fix it when cfi: true?

-- 
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/20191027/f579d0ff/attachment.html>


More information about the llvm-bugs mailing list