[llvm] [MC,ELF] Emit warning if a string constant contains newline char. (PR #98060)

Dmitriy Chestnykh via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 14 23:49:14 PDT 2024


================
@@ -0,0 +1,50 @@
+// RUN: llvm-mc -filetype=obj -triple x86_64 %s 2>&1 -o /dev/null | FileCheck -DFILE=%s --strict-whitespace %s --implicit-check-not=valid1_string --implicit-check-not=valid2_string --implicit-check-not=valid3_string --check-prefix=CHECK-WARN
----------------
chestnykh wrote:

like `--implicit-check-not=valid*_string` ?

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


More information about the llvm-commits mailing list