Skip to content

Commit e9ce48f

Browse files
Merge pull request #9402 from adrian-prantl/disable-poison
Disable user poisoning in swift LLDB
2 parents d0e406e + 720c769 commit e9ce48f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lldb/test/Unit/lit.cfg.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
# false positive in std::vector. We also want to support testing a sanitized
4444
# lldb using unsanitized llvm, clang, and swift libraries.
4545
config.environment['ASAN_OPTIONS'] += ':' + 'detect_container_overflow=0'
46+
47+
# FIXME: This is the wrong place to disable this. This is working
48+
# around the fact that the ci.swift.org scripts build only LLDB with
49+
# asan and this creates an ODR violation in Allocator.h that breaks
50+
# poisoning.
51+
config.environment['ASAN_OPTIONS'] += ':' + 'allow_user_poisoning=0'
4652
# End Swift mod.
4753

4854

0 commit comments

Comments
 (0)