================
@@ -0,0 +1,10 @@
+// RUN: %clang -O0 -g -debug-info-kind=standalone -dwarf-version=5 
-fsanitize=undefined \
----------------
delcypher wrote:

@anthonyhatran We should probably use `%clang_cc1` instead as a lot of codegen 
tests do that. That by-passes the clang driver (which is responsible for 
presenting a GCC compatible interface).

We should also hardcode a target triple here so that we get deterministic code 
generation. Otherwise your test will use the host to determine the target which 
might cause the tests to fail when running on other host platforms.

E.g.: `%clang_cc1 -triple arm64-apple-macos`

https://github.com/llvm/llvm-project/pull/143758
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to