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 182642 test/wasm/lto/relocatable-undefined.ll
wasm/InputFiles.cpp
wasm/Writer.cpp
|
Maybe this would be better as
? I believe that's how we handle .symtab in ELF for example.