Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
security
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
tools
security
Commits
90b3b641
Commit
90b3b641
authored
6 years ago
by
Scott Lobdell
Browse files
Options
Downloads
Plain Diff
Merge QP1A.190219.001
Change-Id: I716ee7324da660831bd34877a3cfdd2ad796960f
parents
b2700630
c5257c3e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sanitizer-status/sanitizer-status.c
+1
-1
1 addition, 1 deletion
sanitizer-status/sanitizer-status.c
sanitizer-status/sanitizer-status.go
+3
-0
3 additions, 0 deletions
sanitizer-status/sanitizer-status.go
with
4 additions
and
1 deletion
sanitizer-status/sanitizer-status.c
+
1
−
1
View file @
90b3b641
...
...
@@ -143,7 +143,7 @@ int sanitizer_status(int argc, const char** argv) {
if
(
test_everything
||
have_option
(
"asan"
,
argv
,
argc
))
{
int
asan_failures
=
0
;
#if
n
def
ANDROID_SANITIZE_ADDRESS
#if
!
def
ined(ANDROID_SANITIZE_ADDRESS) && !defined(
ANDROID_SANITIZE_
HW
ADDRESS
)
asan_failures
+=
1
;
printf
(
"ASAN: Compiler flags failed!
\n
"
);
#endif
...
...
This diff is collapsed.
Click to expand it.
sanitizer-status/sanitizer-status.go
+
3
−
0
View file @
90b3b641
...
...
@@ -28,6 +28,9 @@ func loadHook(ctx android.LoadHookContext) {
if
android
.
InList
(
"address"
,
sanitizers
)
{
p
.
Cflags
=
append
(
p
.
Cflags
,
"-DANDROID_SANITIZE_ADDRESS=1"
)
}
if
android
.
InList
(
"hwaddress"
,
sanitizers
)
{
p
.
Cflags
=
append
(
p
.
Cflags
,
"-DANDROID_SANITIZE_HWADDRESS=1"
)
}
if
android
.
InList
(
"coverage"
,
sanitizers
)
{
p
.
Cflags
=
append
(
p
.
Cflags
,
"-DANDROID_SANITIZE_COVERAGE=1"
)
}
...
...
This diff is collapsed.
Click to expand it.
CodeLinaro
@codelinaro
mentioned in commit
95ecd1e1
·
8 months ago
mentioned in commit
95ecd1e1
mentioned in commit 95ecd1e129fe3b7c0acf54cef41c0f071b35cdc5
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment