[Lldb-commits] [lldb] 5dc3975 - [lldb][test] PlatformDarwinTest: remove redundant usage of TestingProperties (#190799)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 7 07:50:27 PDT 2026
Author: Michael Buch
Date: 2026-04-07T14:50:21Z
New Revision: 5dc39757e151fb661ceb323ff1b7af43716c5c03
URL: https://github.com/llvm/llvm-project/commit/5dc39757e151fb661ceb323ff1b7af43716c5c03
DIFF: https://github.com/llvm/llvm-project/commit/5dc39757e151fb661ceb323ff1b7af43716c5c03.diff
LOG: [lldb][test] PlatformDarwinTest: remove redundant usage of TestingProperties (#190799)
This was failing to compile on Windows bots that built without
assertions:
```
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformDarwinTest.cpp
C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Platform\PlatformDarwinTest.cpp(554,3): error: use of undeclared identifier 'TestingProperties'
554 | TestingProperties::GetGlobalTestingProperties().AppendSafeAutoLoadPaths(
| ^
1 error generated.
```
We don't need to set the safe-paths in this particular test, so just
remove it.
Added:
Modified:
lldb/unittests/Platform/PlatformDarwinTest.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/Platform/PlatformDarwinTest.cpp b/lldb/unittests/Platform/PlatformDarwinTest.cpp
index 803bbc558c552..2f9c41c93e90e 100644
--- a/lldb/unittests/Platform/PlatformDarwinTest.cpp
+++ b/lldb/unittests/Platform/PlatformDarwinTest.cpp
@@ -551,8 +551,6 @@ TEST_F(PlatformDarwinLocateTest,
// target.auto-load-scripts-for-modules setting.
m_target_sp->SetLoadScriptFromSymbolFile(eLoadScriptFromSymFileTrusted);
- TestingProperties::GetGlobalTestingProperties().AppendSafeAutoLoadPaths(
- FileSpec(m_tmp_root_dir));
auto setup_module = [this](llvm::StringRef module_name) {
FileSpec module_fspec(
More information about the lldb-commits
mailing list