llvm-project
945db339 - [lldb] Fix Windows build and remote test failure for ScriptedSymbolLocator (#181488)

Commit
66 days ago
[lldb] Fix Windows build and remote test failure for ScriptedSymbolLocator (#181488) ## Summary - Move `GetScriptedSymbolLocatorClassName()` from inline in `Target.h` to out-of-line in `Target.cpp` to avoid collision with Windows `winuser.h` `#define GetClassName GetClassNameW` macro. - Replace `LaunchSimple(None, None, os.getcwd())` with `lldbutil.run_to_breakpoint_do_run()` in `test_locate_source_file` to fix test failure on remote platforms where the local working directory doesn't exist. Fixes CI failures from #181334. ## Test plan - [ ] Windows (aarch64-windows) build passes - [ ] remote-linux-win test passes - [ ] Existing ScriptedSymbolLocator tests pass on local platforms Co-authored-by: Rahul Reddy Chamala <rachamal@meta.com>
Author
Parents
Loading