Store a non-zero value to ref.d.a and use ref.d.b to store the symbol
index. This means that ref.p is never null, which was confusing
llvm-nm.
Fixes PR40497
Paths
| Differential D57373
[WebAssembly] Ensure BasicSymbolRef.getRawDataRefImpl().p is non-null ClosedPublic Authored by sbc100 on Jan 28 2019, 11:03 PM.
Details Summary Store a non-zero value to ref.d.a and use ref.d.b to store the symbol Fixes PR40497
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, rupprecht, sunfish and 3 others. · View Herald TranscriptJan 28 2019, 11:03 PM This revision is now accepted and ready to land.Jan 29 2019, 2:06 PM Closed by commit rL352551: [WebAssembly] Ensure BasicSymbolRef.getRawDataRefImpl().p is non-null (authored by sbc). · Explain WhyJan 29 2019, 2:22 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 184160 lib/Object/WasmObjectFile.cpp
test/tools/llvm-nm/lit.local.cfg
test/tools/llvm-nm/wasm/extern-only.ll
|