[dsymutil] Generalize handling of aliases external symbols
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 16 Nov 2020 19:02:40 +0000 (11:02 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 16 Nov 2020 19:04:31 +0000 (11:04 -0800)
commitee91e2311cf5209c39c46cd99de0fe686b7b5716
treeae31b8d7cbf99022bf4564b91e680e6e09f32f0d
parent0b6090699ab542cde24be1565b4d97dbad153cba
[dsymutil] Generalize handling of aliases external symbols

In f9fb9da36c34d2745b74dc30e6c26f7d3f48466c we fixed spurious warnings
caused by aliases to private extern symbols. This patch generalizes that
to regular external symbols as well.
llvm/test/tools/dsymutil/ARM/extern-alias.test [moved from llvm/test/tools/dsymutil/ARM/private-extern-alias.test with 77% similarity]
llvm/test/tools/dsymutil/Inputs/private/tmp/extern/extern.o [new file with mode: 0644]
llvm/test/tools/dsymutil/Inputs/private/tmp/extern/extern.out [new file with mode: 0755]
llvm/test/tools/dsymutil/Inputs/private/tmp/extern/main.o [new file with mode: 0644]
llvm/tools/dsymutil/MachODebugMapParser.cpp