diff options
author | Zachary Turner <zturner@google.com> | 2017-06-15 23:56:19 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-06-15 23:56:19 +0000 |
commit | 4e950647fb56f4ed019cfb2c12ce62bbdf002cf9 (patch) | |
tree | 399b51deb3b98a10bc1da3ffd28b7b1aa8762243 /llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp | |
parent | 948a59661787f151f70ac59363729d63f92c56e3 (diff) | |
download | bcm5719-llvm-4e950647fb56f4ed019cfb2c12ce62bbdf002cf9.tar.gz bcm5719-llvm-4e950647fb56f4ed019cfb2c12ce62bbdf002cf9.zip |
[llvm-pdbutil] Add support for dumping lines and inlinee lines.
llvm-svn: 305529
Diffstat (limited to 'llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp')
-rw-r--r-- | llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp b/llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp index 9dcad07a10c..cbda8e6dbf5 100644 --- a/llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp +++ b/llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp @@ -334,7 +334,15 @@ cl::opt<bool> DumpModules("modules", cl::desc("dump compiland information"), cl::cat(FileOptions), cl::sub(RawSubcommand)); cl::opt<bool> DumpModuleFiles( "files", - cl::desc("for each module dumped, dump the contributing source files"), + cl::desc("Dump the source files that contribute to each module's."), + cl::cat(FileOptions), cl::sub(RawSubcommand)); +cl::opt<bool> DumpLines( + "l", + cl::desc("dump source file/line information (DEBUG_S_LINES subsection)"), + cl::cat(FileOptions), cl::sub(RawSubcommand)); +cl::opt<bool> DumpInlineeLines( + "il", + cl::desc("dump inlinee line information (DEBUG_S_INLINEELINES subsection)"), cl::cat(FileOptions), cl::sub(RawSubcommand)); // MISCELLANEOUS OPTIONS @@ -893,6 +901,8 @@ int main(int argc_, const char *argv_[]) { if (opts::RawSubcommand) { if (opts::raw::RawAll) { + opts::raw::DumpLines = true; + opts::raw::DumpInlineeLines = true; opts::raw::DumpIds = true; opts::raw::DumpPublics = true; opts::raw::DumpSectionContribs = true; |