summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-10-08 22:57:47 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-10-08 22:57:47 +0000
commitd88aa97cbda29d16ae4a52775b8246ce219f57be (patch)
tree8aebd8411318d3a163f68e8c263c45c99933f097 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent7a18a385f05802333fcd0df4ad228bcf47a13b22 (diff)
downloadbcm5719-llvm-d88aa97cbda29d16ae4a52775b8246ce219f57be.tar.gz
bcm5719-llvm-d88aa97cbda29d16ae4a52775b8246ce219f57be.zip
Use llvm-symbolizer to symbolize LLVM/Clang crash dumps.
This change modifies fatal signal handler used in LLVM tools. Now it attempts to find llvm-symbolizer binary and communicates with it in order to turn instruction addresses into function/file/line info entries. This should significantly improve stack traces readability in Debug builds. This feature only works on selected platforms (including Darwin and Linux). If the symbolization fails for some reason, signal handler will fallback to the original behavior. Reviewed in http://reviews.llvm.org/D5610 llvm-svn: 219354
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud