[Lldb-commits] [PATCH] D107701: [lldb] [test] Skip Expr/nodefaultlib.cpp test if LD_PRELOAD Is used

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 7 08:26:16 PDT 2021


mgorny added a comment.

In D107701#2986378 <https://reviews.llvm.org/D107701#2986378>, @labath wrote:

> What does the preloaded library do ? Is it actually necessary for the (other) tests to run? I'm wondering if we shouldn't strip the variable from the environment instead...

It detects accesses to files outside the build tree. Stripping the variable won't help because it will readd itself on fork.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107701/new/

https://reviews.llvm.org/D107701



More information about the lldb-commits mailing list