Skip to content

Commit 9500bcb

Browse files
committed
Add more flags
Signed-off-by: Uilian Ries <uilianr@jfrog.com>
1 parent 24915ab commit 9500bcb

File tree

2 files changed

+6
-1
lines changed
  • examples/dev_flow/sanitizers/compiler_sanitizers/profiles

2 files changed

+6
-1
lines changed

examples/dev_flow/sanitizers/compiler_sanitizers/profiles/asan

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ compiler.sanitizer=Address
88
tools.build:cflags=['-fsanitize=address']
99
tools.build:cxxflags=['-fsanitize=address']
1010
tools.build:exelinkflags=['-fsanitize=address']
11+
tools.build:sharedlinkflags+=["-fsanitize=address"]
12+
13+
[runenv]
14+
ASAN_OPTIONS="halt_on_error=1:detect_leaks=1"

examples/dev_flow/sanitizers/compiler_sanitizers/profiles/asan_ubsan

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ compiler.sanitizer=AddressUndefinedBehavior
77
[conf]
88
tools.build:cflags=['-fsanitize=address,undefined']
99
tools.build:cxxflags=['-fsanitize=address,undefined']
10-
tools.build:exelinkflags=['-fsanitize=address,undefined']
10+
tools.build:exelinkflags=['-fsanitize=address,undefined']
11+
tools.build:sharedlinkflags+=["-fsanitize=address"]

0 commit comments

Comments
 (0)