summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_stacktrace.cc
diff options
context:
space:
mode:
authorMarcin Koscielnicki <koriakin@0x04.net>2016-04-18 22:21:02 +0000
committerMarcin Koscielnicki <koriakin@0x04.net>2016-04-18 22:21:02 +0000
commitde3d40e84dc22a9f116b60ac1f13fd1fdb853b2e (patch)
tree26e0cef86a064ebba3ed2d59365883b3e5f39a8c /lib/sanitizer_common/sanitizer_stacktrace.cc
parent67c4cad56d662b70fa341c55871cfc176198b8d7 (diff)
[msan] Don't hardcode 4kiB page size in msan_test.cc.
This breaks the valloc test on PowerPC, which has 64kiB pages. Since getting page size portably is nontrivial, and there's already a function for that in __sanitizer, just use it. Unfortunately, sanitizer_common.h conflicts with the interface headers inclucded by msan_test.cc (and a few of its own macros), so we have to declare it manually. Differential Revision: http://reviews.llvm.org/D19227 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@266688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_stacktrace.cc')
0 files changed, 0 insertions, 0 deletions