[llvm-bugs] [Bug 33245] New: [ThinLTO] In LTO personality function missing.
llvm-bugs at lists.llvm.org
Wed May 31 05:46:09 PDT 2017
Bug ID: 33245
Summary: [ThinLTO] In LTO personality function missing.
Assignee: unassignedbugs at nondot.org
Reporter: wallbraker at gmail.com
CC: llvm-bugs at lists.llvm.org
Created attachment 18550
Test case, just run run.sh to demonstrate.
As it says in the subject, the linker is not able to find the personality
function when linking a program.
What I am doing here is running ThinLTO with the personality function inside of
the LTO bitcode files, not externally. If I move the personality function to a
o binary it fixes the problem. The same bug happens if you remove the
Running the attached testcase I get the error below.
/home/jakob/bin/ld.lld: error: undefined symbol: vrt_eh_personality_v0
>>> referenced by main
clang: error: linker command failed with exit code 1 (use -v to see
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs