Index: lldb/test/Shell/Expr/nodefaultlib.cpp =================================================================== --- lldb/test/Shell/Expr/nodefaultlib.cpp +++ lldb/test/Shell/Expr/nodefaultlib.cpp @@ -2,6 +2,7 @@ // standard library (and mmap-like functions in particular). // REQUIRES: native +// UNSUPPORTED: ld_preload-present // XFAIL: system-linux && !(target-x86 || target-x86_64) // XFAIL: system-netbsd || system-freebsd || system-darwin Index: lldb/test/Shell/lit.cfg.py =================================================================== --- lldb/test/Shell/lit.cfg.py +++ lldb/test/Shell/lit.cfg.py @@ -140,3 +140,6 @@ can_set_dbregs = False if can_set_dbregs: config.available_features.add('dbregs-set') + +if 'LD_PRELOAD' in os.environ: + config.available_features.add('ld_preload-present')