Disable asan instrumentation for StackGrowsDown().
This commit is contained in:
parent
8120f66c32
commit
21ee8a2e72
|
@ -985,6 +985,8 @@ void StackLowerThanAddress(const void* ptr, bool* result) {
|
|||
*result = (&dummy < ptr);
|
||||
}
|
||||
|
||||
// Make sure AddressSanitizer does not tamper with the stack here.
|
||||
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
|
||||
bool StackGrowsDown() {
|
||||
int dummy;
|
||||
bool result;
|
||||
|
|
Loading…
Reference in New Issue
Block a user