mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-24 19:44:49 +00:00
llvm-cxxfilt: fix program description
Fix a silly copy-paste error in the tool description. Take the opportunity to add crash stack printing which will hopefully never be needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292579 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
81cf2fa17a
commit
08015a574d
@ -36,7 +36,10 @@ static void demangle(llvm::raw_ostream &OS, const std::string &Mangled) {
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm symbol table dumper\n");
|
||||
sys::PrintStackTraceOnErrorSignal(argv[0]);
|
||||
PrettyStackTraceProgram X(argc, argv);
|
||||
|
||||
cl::ParseCommandLineOptions(argc, argv, "llvm symbol undecoration tool\n");
|
||||
|
||||
if (Decorated.empty())
|
||||
for (std::string Mangled; std::getline(std::cin, Mangled);)
|
||||
|
Loading…
x
Reference in New Issue
Block a user