[llvm] [lit] Update internal shell lexer to handle LLDB persistent vars. (PR #156125)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 3 10:03:56 PDT 2025


boomanaiden154 wrote:

Just making a note here in case anyone else comes across it:

Certain sequences after this change need to be double escaped if they are supposed to be passed to the command escaped, like the following from an lld test:
```
# RUN: awk '/^__OBJC_\\$_CATEGORY_MyBaseClass_\\$_Category01:/ { print; getline; sub(/^[ \t]*\.quad[ \t]+l_OBJC_CLASS_NAME_$/, "\t.quad\tL_OBJC_IMAGE_INFO+3"); print; next } { print }' merge_cat_minimal.s > merge_cat_minimal_bad_name.s
```

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


More information about the llvm-commits mailing list