Drop redundant ASan library from exe link line
This works around a bug (https://llvm.org/pr37592) in LLD, where if foo.lib appears on the link line without -wholearchive:, it doesn't take effect. Instead, only pass the -wholearchive:foo.lib flag, which adds the library as an input and turns on the wholearchive behavior that we need. Fixes base_unittests StackSamplingProfilerTest.OtherLibrary and related tests, which were failing because chrome.exe was missing an exported function. Remove the /include flag workaround for https://crbug.com/777087. BUG=777087,844398 R=mmoroz@chromium.org Change-Id: I493e1dcf6963048f7e83df1c937b4a4a62dd96bb Reviewed-on: https://chromium-review.googlesource.com/1073890Reviewed-by:Max Moroz <mmoroz@chromium.org> Commit-Queue: Reid Kleckner <rnk@chromium.org> Cr-Commit-Position: refs/heads/master@{#562042}
Showing
Please register or sign in to comment