[all-commits] [llvm/llvm-project] bd1987: [COFF] Aliases resolve directly to defined externa...
Eric Astor via All-commits
all-commits at lists.llvm.org
Mon Sep 28 13:13:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bd19876dc60c69f50a7110740e97c6878e56be60
https://github.com/llvm/llvm-project/commit/bd19876dc60c69f50a7110740e97c6878e56be60
Author: Eric Astor <epastor at google.com>
Date: 2020-09-28 (Mon, 28 Sep 2020)
Changed paths:
M llvm/lib/MC/WinCOFFObjectWriter.cpp
A llvm/test/MC/COFF/weak-alias-labels.s
M llvm/test/MC/COFF/weak.s
Log Message:
-----------
[COFF] Aliases resolve directly to defined external targets
Avoid introducing unnecessary indirection for weak-external references.
We only need to introduce ".weak.<SYMBOL>.default" when referencing a
symbol that is defined, but not external.
Reviewed By: mstorsjo
Differential Revision: https://reviews.llvm.org/D88305
More information about the All-commits
mailing list