DWARF: allow enabling tracing at runtime
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 21 Jan 2017 16:22:57 +0000 (16:22 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 21 Jan 2017 16:22:57 +0000 (16:22 +0000)
commitc06f0cf88c7697fc015934a3629025934d5523e8
tree3a3c70abd2d753394cdc194661ee7bab37351622
parentc3bf7da9cfa9d820332d141b2aee2b054cf61596
DWARF: allow enabling tracing at runtime

Introduce `logDWARF` and the associated environment variable
`LIBUNWIND_PRINT_DWARF` to trace the CFI instructions.

llvm-svn: 292722
libunwind/src/DwarfParser.hpp
libunwind/src/libunwind.cpp