[all-commits] [llvm/llvm-project] 646764: [ELF] Make --trace-symbol track preempted shared d...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue May 19 08:56:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 64676499741cb985146ab982a67da859ff8f4f4d
      https://github.com/llvm/llvm-project/commit/64676499741cb985146ab982a67da859ff8f4f4d
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-05-19 (Tue, 19 May 2020)

  Changed paths:
    M lld/ELF/Symbols.cpp
    M lld/test/ELF/trace-symbols.s

  Log Message:
  -----------
  [ELF] Make --trace-symbol track preempted shared definitions

Note, we still name a preempted SharedSymbol "shared definition",
instead of "reference" as printed by GNU ld. This difference should not matter.

```
// GNU ld
ld.bfd: t: definition of f at v1
ld.bfd: t.so: reference to f at v1
```

Reviewed By: psmith

Differential Revision: https://reviews.llvm.org/D80143




More information about the All-commits mailing list