[llvm-bugs] [Bug 37625] New: Error compiling with -fsanitize=cfi-icall: Alias should have private, internal, linkonce, weak, linkonce_odr, weak_odr, or external linkage!

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 29 12:04:29 PDT 2018


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

            Bug ID: 37625
           Summary: Error compiling with -fsanitize=cfi-icall: Alias
                    should have private, internal, linkonce, weak,
                    linkonce_odr, weak_odr, or external linkage!
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tom at ritter.vg
                CC: dmajor at mozilla.com, llvm-bugs at lists.llvm.org,
                    peter at pcc.me.uk, vlad at tsyrklevich.net

Created attachment 20357
  --> https://bugs.llvm.org/attachment.cgi?id=20357&action=edit
M.dump() output (grepped for affected function)

I've attached a (minimized) build log that performs M.dump() when triggering
the 'Alias should have private, internal, linkonce, weak, linkonce_odr,
weak_odr, or external linkage!' in Verifier.cpp

This error does not occur when compiling without CFI.

clang version 7.0.0 (trunk) (llvm/trunk 332262)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /builds/worker/my-workspace/build/src/clang/bin

-- 
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/20180529/1050aa02/attachment.html>


More information about the llvm-bugs mailing list