This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Add default -allow-undefined-file to linker args
ClosedPublic

Authored by sbc100 on May 25 2017, 2:15 PM.

Details

Summary

This directs lld to ignore undefined symbols listed in that
file and is part of my ongoing lld work.

Also, don't use the outdated lib32/lib64 naming of files
within the sysroot. The more modern/flexible approach
IIUC is to use seperate sysroots or /lib/<target-tripple>
and /include/<target-tripple>.

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.May 25 2017, 2:15 PM
sbc100 updated this revision to Diff 102469.Jun 13 2017, 6:12 PM

don't add syms file with -nostdlib

sbc100 edited the summary of this revision. (Show Details)Jun 13 2017, 6:13 PM
sbc100 added reviewers: dschuff, jgravelle-google.
sbc100 edited the summary of this revision. (Show Details)
sbc100 updated this revision to Diff 103130.Jun 19 2017, 6:09 PM
sbc100 edited the summary of this revision. (Show Details)

rebase

sbc100 edited subscribers, added: cfe-commits; removed: llvm-commits.Jun 21 2017, 3:18 PM
dschuff accepted this revision.Jun 21 2017, 4:01 PM
This revision is now accepted and ready to land.Jun 21 2017, 4:01 PM
This revision was automatically updated to reflect the committed changes.