mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 14:20:33 +00:00
b6d8c58d41
This adds support for dumping a summary of module symbols and CodeView debug chunks. This option prints a table for each module of all of the symbols that occurred in the module and the number of times it occurred and total byte size. Then at the end it prints the totals for the entire file. Additionally, this patch adds the -jmc (just my code) option, which suppresses modules which are from external libraries or linker imports, so that you can focus only on the object files and libraries that originate from your own source code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311338 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
525 B
Plaintext
21 lines
525 B
Plaintext
; RUN: llvm-pdbutil dump -modules %p/Inputs/big-read.pdb | FileCheck --check-prefix=ALL %s
|
|
; RUN: llvm-pdbutil dump -modules -jmc %p/Inputs/big-read.pdb | FileCheck --check-prefix=JMC %s
|
|
|
|
ALL: Mod 0000 |
|
|
ALL: Mod 0001 |
|
|
ALL: Mod 0002 |
|
|
ALL: Mod 0003 |
|
|
ALL: Mod 0004 |
|
|
ALL: Mod 0005 |
|
|
ALL: Mod 0006 |
|
|
ALL: Mod 0047 |
|
|
|
|
JMC: Mod 0000
|
|
JMC-NOT: Mod 0001
|
|
JMC-NOT: Mod 0002
|
|
JMC-NOT: Mod 0003
|
|
JMC-NOT: Mod 0004
|
|
JMC-NOT: Mod 0005
|
|
JMC-NOT: Mod 0006
|
|
JMC-NOT: Mod 0047
|