forked from OSchip/llvm-project
[Msan] Fix the mmap_below_shadow.cc test to pass on FreeBSD
Differential Revision: http://reviews.llvm.org/D9462 llvm-svn: 236582
This commit is contained in:
parent
385d3f2241
commit
179ceff160
|
@ -15,7 +15,10 @@
|
||||||
|
|
||||||
int main(void) {
|
int main(void) {
|
||||||
// Hint address just below shadow.
|
// Hint address just below shadow.
|
||||||
#if defined(__x86_64__)
|
#if defined(__FreeBSD__) && defined(__x86_64__)
|
||||||
|
uintptr_t hint = 0x0f0000000000ULL;
|
||||||
|
const uintptr_t app_start = 0x000000000000ULL;
|
||||||
|
#elif defined(__x86_64__)
|
||||||
uintptr_t hint = 0x4f0000000000ULL;
|
uintptr_t hint = 0x4f0000000000ULL;
|
||||||
const uintptr_t app_start = 0x600000000000ULL;
|
const uintptr_t app_start = 0x600000000000ULL;
|
||||||
#elif defined (__mips64)
|
#elif defined (__mips64)
|
||||||
|
|
Loading…
Reference in New Issue