File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
API/api/multiple-debuggers Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ class TestMultipleSimultaneousDebuggers(TestBase):
15
15
@skipIfNoSBHeaders
16
16
@skipIfWindows
17
17
def test_multiple_debuggers (self ):
18
- env = {self .dylibPath : self .getLLDBLibraryEnvVal ()}
18
+ env = {self .dylibPath : self .getLLDBLibraryEnvVal (),
19
+ # We need this in order to run under ASAN, in case only LLDB is ASANified.
20
+ 'ASAN_OPTIONS' : os .getenv ('ASAN_OPTIONS' , None )}
19
21
20
22
self .driver_exe = self .getBuildArtifact ("multi-process-driver" )
21
23
self .buildDriver ('multi-process-driver.cpp' , self .driver_exe )
Original file line number Diff line number Diff line change 7
7
8
8
# RUN: %clang_host %S/Inputs/simple.c -g -o %t.out
9
9
# RUN: SHELL=bogus not %lldb %t.out -b -o 'process launch -X 1 --' 2>&1 | FileCheck %s --check-prefix ERROR
10
- # RUN: env -i %lldb %t.out -b -o 'process launch -X 1 --' 2>&1 | FileCheck %s
10
+ # RUN: env -i ASAN_OPTIONS='detect_container_overflow=0' %lldb %t.out -b -o 'process launch -X 1 --' 2>&1 | FileCheck %s
11
11
12
12
# ERROR: error: shell expansion failed
13
13
# CHECK-NOT: error: shell expansion failed
You can’t perform that action at this time.
0 commit comments