[Lldb-commits] [compiler-rt] [lldb] [llvm] Rename config.host_os to config.target_os. (PR #149015)

Teresa Johnson via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 17 12:18:49 PDT 2025


teresajohnson wrote:

> I'm getting an error in my testing that I'm guessing is from this change (paths shortened for simplicity):
> 
> ```
> llvm-lit: llvm/utils/lit/lit/TestingConfig.py:157: fatal: unable to parse config file 'compiler-rt/test/lit.common.cfg.py', traceback: Traceback (most recent call last):
>   File "llvm/utils/lit/lit/TestingConfig.py", line 145, in load_from_path
>     exec(compile(data, path, "exec"), cfg_globals, None)
>   File "compiler-rt/test/lit.common.cfg.py", line 315, in <module>
>     config.available_features.add(config.target_os.lower())
>                                   ^^^^^^^^^^^^^^^^
> AttributeError: 'TestingConfig' object has no attribute 'target_os'
> ```

I re-ran cmake and am still getting this error

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


More information about the lldb-commits mailing list