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