diff options
author | Julian Lettner <jlettner@apple.com> | 2019-03-05 00:41:15 +0000 |
---|---|---|
committer | Julian Lettner <jlettner@apple.com> | 2019-03-05 00:41:15 +0000 |
commit | 4ce918e3942f0333ccb7d65d6265f4fc5f5324be (patch) | |
tree | 117c126e13d14c684c1fa6fc1886db05bb6ed401 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | c2b3f62315f8243cba6b14c2ac6b0402f897819d (diff) | |
download | bcm5719-llvm-4ce918e3942f0333ccb7d65d6265f4fc5f5324be.tar.gz bcm5719-llvm-4ce918e3942f0333ccb7d65d6265f4fc5f5324be.zip |
[NFC][Sanitizer] Cleanup ASan's GetStackTrace implementation
Cleanup ASan's __sanitizer::BufferedStackTrace::UnwindImpl (formerly
GetStackTrace) implementation. Start with ASan because it is the most
complex implementation.
GetStackTrace implementations seem to have started out as exact copies
of the original implementation in ASan, but have diverged in subtle
ways. My goal is to parameterize this algorithm (via templating or
callbacks) so we can share the implementation and get rid of the
inversed dependency (sanitizer_common depends on concrete
implementations in asan, ubsan, etc.). This should also help us to avoid
those pesky linker errors caused by undefined, duplicate, and weak
symbols on Windows.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D58861
llvm-svn: 355355
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions