[Lldb-commits] [lldb] [lldb][PlatformDarwin] Reword warning when locating scripting resources from dSYM (PR #185666)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 10 08:33:15 PDT 2026


DavidSpickett wrote:

```
warning: found a debug script '/path/to/.dSYM/Contents/Resources/DWARF/../Python/import.py'.
```
I thought it should start upper case but I am wrong - https://llvm.org/docs/CodingStandards.html#error-and-warning-messages. So that's fine.
```
However, its name conflicts with a keyword and as such cannot be loaded.
```
It would be great to know what the keyword is. "its name conflicts with the keyword 'foo' and so". This also would help me realise "oh, that's a Python keyword!". Instead of some arbitrary list of whatever lldb doesn't like.

```
LLDB will load '/path/to/.dSYM/Contents/Resources/DWARF/../Python/_import.py' instead.
Consider removing the file with the malformed name to eliminate this warning.
```
"removing *or renaming*"? Or in priority order - renaming or removing. It seems more likely the user put effort into making the script than it just hanging around leftover from something else, right?

(I am not familiar with these scripts)

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


More information about the lldb-commits mailing list