diff options
author | Marcin Koscielnicki <koriakin@0x04.net> | 2016-04-18 22:21:02 +0000 |
---|---|---|
committer | Marcin Koscielnicki <koriakin@0x04.net> | 2016-04-18 22:21:02 +0000 |
commit | c5d2ff8099f3299a1f3c1aaebf5b3f21c06d51ca (patch) | |
tree | 0ed879c46b4f785595305cb705091da73c8cca2a /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py | |
parent | e64e7459aac43457138bbcc673f4b246afb6b29c (diff) | |
download | bcm5719-llvm-c5d2ff8099f3299a1f3c1aaebf5b3f21c06d51ca.tar.gz bcm5719-llvm-c5d2ff8099f3299a1f3c1aaebf5b3f21c06d51ca.zip |
[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
llvm-svn: 266688
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py')
0 files changed, 0 insertions, 0 deletions