[lld] r306036 - Keep the original symbol name when renamed.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 26 02:40:41 PDT 2017
>Modified: lld/trunk/test/ELF/defsym.s
>URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/defsym.s?rev=306036&r1=306035&r2=306036&view=diff
>==============================================================================
>--- lld/trunk/test/ELF/defsym.s (original)
>+++ lld/trunk/test/ELF/defsym.s Thu Jun 22 12:30:19 2017
>@@ -21,7 +21,7 @@
> # CHECK-NEXT: Section: Absolute
> # CHECK-NEXT: }
> # CHECK-NEXT: Symbol {
>-# CHECK-NEXT: Name: foo1
>+# CHECK-NEXT: Name: foo2
> # CHECK-NEXT: Value: 0x123
> # CHECK-NEXT: Size:
> # CHECK-NEXT: Binding: Global
This file has the next comment above this change:
## In compare with GNU linkers, symbol defined with --defsym does
## not get aliased name in symbol table:
It is no more valid after this commit. You probably want to remove/update it.
George.
More information about the llvm-commits
mailing list