Change the way we create the symbol table to be closer to how its down on ELF.
Now the output symbol table matches the internal symtab data structure more closely
and includes local and undefined symbols.
Fixes PR40204
Paths
| Differential D56947
[WebAssembly] Fix crash with LTO + relocatable + undefined symbols ClosedPublic Authored by sbc100 on Jan 18 2019, 4:44 PM.
Details Summary Change the way we create the symbol table to be closer to how its down on ELF. Fixes PR40204
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, dexonsmith, steven_wu and 6 others. · View Herald TranscriptJan 18 2019, 4:44 PM
This revision is now accepted and ready to land.Jan 30 2019, 10:46 AM Closed by commit rL352645: [WebAssembly] Fix crash with LTO + relocatable + undefined symbols (authored by sbc). · Explain WhyJan 30 2019, 10:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 184333 lld/trunk/test/wasm/data-layout.ll
lld/trunk/test/wasm/init-fini.ll
lld/trunk/test/wasm/locals-duplicate.test
lld/trunk/test/wasm/lto/relocatable-undefined.ll
lld/trunk/test/wasm/weak-alias.ll
lld/trunk/wasm/Writer.cpp
|