Commit 33f64ee2 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Revert "win: Use order files with lld as well."

This reverts commit 7ba450fd.

Reason for revert: lld-link currently warns if the orderfile
references non-existing functions, without implementing the flag
to disable that warning. Since our orderfiles are usually somewhat
out of date, lld-link currently always warns. Reland once
https://llvm.org/PR36657 is fixed and rolled in.

Original change's description:
> win: Use order files with lld as well.
> 
> Bug: 792131, 728324
> Change-Id: I3b2ebe4a2073b6a03193dac5c497dbd3c53fc06d
> Reviewed-on: https://chromium-review.googlesource.com/955726
> Reviewed-by: Reid Kleckner <rnk@chromium.org>
> Commit-Queue: Nico Weber <thakis@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#541874}

TBR=thakis@chromium.org,rnk@chromium.org

Change-Id: Ic9c6b7e94b99559c88a61fb22df253becf6853e9
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 792131, 728324
Reviewed-on: https://chromium-review.googlesource.com/956035Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542027}
parent e726dd52
...@@ -447,7 +447,7 @@ if (is_win) { ...@@ -447,7 +447,7 @@ if (is_win) {
] ]
} }
if (is_clang && is_official_build) { if (is_clang && is_official_build && !use_lld) {
orderfile = "build/chrome.$target_cpu.orderfile" orderfile = "build/chrome.$target_cpu.orderfile"
rebased_orderfile = rebase_path(orderfile, root_build_dir) rebased_orderfile = rebase_path(orderfile, root_build_dir)
inputs = [ inputs = [
...@@ -509,7 +509,7 @@ if (is_win) { ...@@ -509,7 +509,7 @@ if (is_win) {
"/DELAYLOAD:wininet.dll", "/DELAYLOAD:wininet.dll",
] ]
if (is_clang && is_official_build) { if (is_clang && is_official_build && !use_lld) {
orderfile = "build/chrome_child.$target_cpu.orderfile" orderfile = "build/chrome_child.$target_cpu.orderfile"
rebased_orderfile = rebase_path(orderfile, root_build_dir) rebased_orderfile = rebase_path(orderfile, root_build_dir)
inputs = [ inputs = [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment