Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15)

Unified Diff: src/tools/linux/dump_syms/dump_syms.cc

Issue 517002: Allow dumping just CFI data from debug symbols (Closed)
Patch Set: Updated patch Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/common/symbol_data.h ('k') | src/tools/mac/dump_syms/dump_syms_tool.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/tools/linux/dump_syms/dump_syms.cc
===================================================================
--- a/src/tools/linux/dump_syms/dump_syms.cc
+++ b/src/tools/linux/dump_syms/dump_syms.cc
@@ -63,15 +63,16 @@ int main(int argc, char **argv) {
std::vector<string> debug_dirs;
binary = argv[binary_index];
for (int debug_dir_index = binary_index + 1;
debug_dir_index < argc;
++debug_dir_index) {
debug_dirs.push_back(argv[debug_dir_index]);
}
- if (!WriteSymbolFile(binary, debug_dirs, cfi, std::cout)) {
+ SymbolData symbol_data = cfi ? ALL_SYMBOL_DATA : NO_CFI;
+ if (!WriteSymbolFile(binary, debug_dirs, symbol_data, std::cout)) {
fprintf(stderr, "Failed to write symbol file.\n");
return 1;
}
return 0;
}
« no previous file with comments | « src/common/symbol_data.h ('k') | src/tools/mac/dump_syms/dump_syms_tool.mm » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted