[sanitizer] Split stacktrace/symbolizer: Windows unwind
authorKostya Kortchinsky <kostyak@google.com>
Wed, 4 Apr 2018 15:23:30 +0000 (15:23 +0000)
committerKostya Kortchinsky <kostyak@google.com>
Wed, 4 Apr 2018 15:23:30 +0000 (15:23 +0000)
commit9336ab6996bdf9c0d235c4a81901413104c184f4
treeb632e9e19151f036c871e410fb0d4ad28aed30bc
parent785a79133b124d82c7124c8bff1727cf950fb1d4
[sanitizer] Split stacktrace/symbolizer: Windows unwind

Summary:
The purpose of this set of changes is to separate stackframe/symbolizer support into their own RT within sanitizer_common.
Sanitizers with no use for those could then be built without the extraneous dependencies pulled in by the default visibility interface functions.
I am aiming to do small changes for specific platforms.

In this one, we split the unwind functions from sanitizer_win.cc into their own sanitizer_unwind_win.cc.

Reviewers: alekseyshl, rnk

Reviewed By: alekseyshl, rnk

Subscribers: delcypher, #sanitizers, kubamracek, mgorny, llvm-commits

Differential Revision: https://reviews.llvm.org/D44799

llvm-svn: 329204
compiler-rt/lib/sanitizer_common/CMakeLists.txt
compiler-rt/lib/sanitizer_common/sanitizer_unwind_win.cc [new file with mode: 0644]
compiler-rt/lib/sanitizer_common/sanitizer_win.cc