Previously we were generated a void(void) function type
for a weak alias. Update the weak-alias test case to
catch this.
Also, fix type if relocation index to be unsigned inline
with the spec (Linking.md)
Paths
| Differential D34734
[WebAssembly] MC: Don't generate extra types for weak alias ClosedPublic Authored by sbc100 on Jun 27 2017, 8:07 PM.
Details Summary Previously we were generated a void(void) function type Also, fix type if relocation index to be unsigned inline
Diff Detail
Event TimelineHerald added subscribers: aheejin, jgravelle-google, dschuff, jfb. · View Herald TranscriptJun 27 2017, 8:08 PM
This revision is now accepted and ready to land.Jul 5 2017, 11:36 AM Closed by commit rL307194: [WebAssembly] MC: Don't generate extra types for weak alias (authored by sbc). · Explain WhyJul 5 2017, 1:10 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 105118 include/llvm/BinaryFormat/Wasm.h
include/llvm/MC/MCSymbolWasm.h
lib/MC/WasmObjectWriter.cpp
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h
lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
test/MC/WebAssembly/external-func-address.ll
test/MC/WebAssembly/weak-alias.ll
|
so a weak alias both isVariable() and isFunction()?