[all-commits] [llvm/llvm-project] 55a60a: [llvm-readelf] - Implement --addrsig option.

Georgii Rymar via All-commits all-commits at lists.llvm.org
Wed Oct 7 07:03:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 55a60af237809308cf4731ec291cab32ea8c732a
      https://github.com/llvm/llvm-project/commit/55a60af237809308cf4731ec291cab32ea8c732a
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-10-07 (Wed, 07 Oct 2020)

  Changed paths:
    M llvm/test/tools/llvm-readobj/ELF/addrsig.test
    M llvm/test/tools/llvm-readobj/ELF/demangle.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  [llvm-readelf] - Implement --addrsig option.

We have `--addrsig` implemented for `llvm-readobj`.
Usually it is convenient to use a single tool for dumping,
so it seems we might want to implement `--addrsig` for `llvm-readelf` too.

I've selected a simple output format which is a bit similar to one,
used for dumping of the symbol table. It looks like:

```
Address-significant symbols section '.llvm_addrsig' contains 2 entries:
   Num: Name
     1: foo
     2: bar
```

Differential revision: https://reviews.llvm.org/D88835




More information about the All-commits mailing list