Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
21ee8a2e
"vscode:/vscode.git/clone" did not exist on "ba513d2c9525a7c986c115ed5d603f2cf17c6016"
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) {
*
result
=
(
&
dummy
<
ptr
);
}
// Make sure AddressSanitizer does not tamper with the stack here.
GTEST_ATTRIBUTE_NO_SANITIZE_ADDRESS_
bool
StackGrowsDown
()
{
int
dummy
;
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