[PATCH] D96613: [lld] Add options to trace all symbols and to trace all symbols originated from a file

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 09:11:56 PST 2021


hoy created this revision.
Herald added subscribers: wenlei, dang, arichardson, emaste.
Herald added a reviewer: MaskRay.
hoy requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

`--trace-symbol=<symbol>` only traces one symbol at a time, add :

- `--trace-all-symbols` to trace all symbols
- `--trace-symbols-from-file=<file>` to trace symbols referenced or defined in a file


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96613

Files:
  lld/ELF/Config.h
  lld/ELF/Driver.cpp
  lld/ELF/Options.td
  lld/ELF/Symbols.cpp
  lld/ELF/Symbols.h
  lld/test/ELF/trace-all-symbols.s
  lld/test/ELF/trace-file.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96613.323351.patch
Type: text/x-patch
Size: 8312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210212/144037c8/attachment.bin>


More information about the llvm-commits mailing list