Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
21ee8a2e
Commit
21ee8a2e
authored
Jun 17, 2014
by
kosak
Browse files
Disable asan instrumentation for StackGrowsDown().
parent
8120f66c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/gtest-death-test.cc
src/gtest-death-test.cc
+2
-0
No files found.
src/gtest-death-test.cc
View file @
21ee8a2e
...
@@ -985,6 +985,8 @@ void StackLowerThanAddress(const void* ptr, bool* result) {
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment