[llvm] Give a warning when no dwo files are provided (PR #94336)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 12:28:33 PDT 2024


================
@@ -0,0 +1,9 @@
+; RUN: rm -rf %t && mkdir -p %t && split-file %s %t && cd %t
+; RUN: clang -g -gdwarf-4 %t/non_split.c -o %t/non_split.o
----------------
dwblaikie wrote:

lit RUN lines basically boil down to a shell script, so it inherits the system PATH - but if you ran the tests on a machine that didn't have clang installed (and didn't build clang) the test would fail, so far as I understand.

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


More information about the llvm-commits mailing list