diff options
| author | Rui Ueyama <ruiu@google.com> | 2016-05-26 23:26:55 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2016-05-26 23:26:55 +0000 |
| commit | 9dc034dba162c27d9e2663800e4801db35ad435b (patch) | |
| tree | 78ce1521d05890344f2aae1f327c019f4ae82404 /llvm/tools/llvm-pdbdump | |
| parent | 27bf850a4ec992039a2d9a1ab7701e0143716fc6 (diff) | |
| download | bcm5719-llvm-9dc034dba162c27d9e2663800e4801db35ad435b.tar.gz bcm5719-llvm-9dc034dba162c27d9e2663800e4801db35ad435b.zip | |
pdbdump: Add -raw-all to enable all -raw-* flags.
Differential Revision: http://reviews.llvm.org/D20707
llvm-svn: 270937
Diffstat (limited to 'llvm/tools/llvm-pdbdump')
| -rw-r--r-- | llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp b/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp index 41b216b5d8d..7ba991a8f74 100644 --- a/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp +++ b/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp @@ -147,6 +147,10 @@ cl::opt<bool> DumpSymRecordBytes("raw-sym-record-bytes", cl::desc("dump CodeView symbol record raw bytes"), cl::cat(NativeOptions)); +cl::opt<bool> + RawAll("raw-all", + cl::desc("Implies most other options in 'Native Options' category"), + cl::cat(NativeOptions)); cl::list<std::string> ExcludeTypes("exclude-types", @@ -823,6 +827,18 @@ int main(int argc_, const char *argv_[]) { opts::Lines = true; } + if (opts::RawAll) { + opts::DumpHeaders = true; + opts::DumpModules = true; + opts::DumpModuleFiles = true; + opts::DumpModuleSyms = true; + opts::DumpPublics = true; + opts::DumpStreamSummary = true; + opts::DumpStreamBlocks = true; + opts::DumpTpiRecords = true; + opts::DumpIpiRecords = true; + } + // When adding filters for excluded compilands and types, we need to remember // that these are regexes. So special characters such as * and \ need to be // escaped in the regex. In the case of a literal \, this means it needs to |

