File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,16 +42,16 @@ basepython =
42
42
setenv =
43
43
# distutils take CFLAGS for both C and C++.
44
44
# distutils use CFLAGS also at link stage -> we don't need to set LDFLAGS separately.
45
- tsan: CFLAGS =-g -fsanitize =thread
46
- asan: CFLAGS =-g -fsanitize =address
45
+ tsan: CFLAGS =-g -fsanitize =thread -fno-omit-frame-pointer
46
+ asan: CFLAGS =-g -fsanitize =address -fno-omit-frame-pointer
47
47
# XXX however distutils' try_link, which is used by numpy.distutils use only CC
48
48
# as linker without CFLAGS and _without_ LDFLAGS, which fails if *.o were
49
49
# compiled with -fsanitize=X and linked without that option. Work it around
50
50
# with also adjusting CC.
51
51
# XXX better arrange to pass CFLAGS to pygolang only, e.g. by adding --race or
52
52
# --sanitize=thread to `setup.py build_ext`.
53
- tsan: CC =cc -fsanitize =thread
54
- asan: CC =cc -fsanitize =address
53
+ tsan: CC =cc -fsanitize =thread -fno-omit-frame-pointer
54
+ asan: CC =cc -fsanitize =address -fno-omit-frame-pointer
55
55
56
56
# always compile pygolang from source and don't reuse binary pygolang wheels as
57
57
# we compile each case with different CFLAGS.
You can’t perform that action at this time.
0 commit comments