[Lldb-commits] [lldb] [lldb] Disable shared builds for tests with custom build() calls (PR #185962)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 11 12:52:32 PDT 2026


kastiglione wrote:

This draft solution uses the `ast` module to find `self.build(...)` calls taking arguments. If so, then shared builds are not used.

Is using the ast overkill? Maybe using a regex search for `r"\bself\.build\(.+\)"` is good enough, even though that would find commented out code.

https://github.com/llvm/llvm-project/pull/185962


More information about the lldb-commits mailing list