[PATCH] D41839: [WebAssembly] Write out undefined symbol addresses as zero
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 8 15:11:43 PST 2018
sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff, jfb.
The addresses of undefined symbols that make it into the final
executable (i.e. weak references to non-existant symbols) should
resolve to zero.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D41839
Files:
test/wasm/relocatable.ll
test/wasm/weak-external.ll
test/wasm/weak-undefined.ll
wasm/InputFiles.cpp
wasm/InputFiles.h
wasm/OutputSections.cpp
wasm/Symbols.cpp
wasm/Symbols.h
wasm/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41839.128990.patch
Type: text/x-patch
Size: 8060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180108/2ed10c6b/attachment.bin>
More information about the llvm-commits
mailing list