mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
99c57c2876
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. llvm-svn: 311338
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
|