[llvm] [LLVM][AsmParser] Make error reporting of lexer errors more precise (PR #111077)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 4 13:36:35 PDT 2024


================
@@ -1,4 +1,4 @@
-; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
+; RUN: not llvm-as --disable-output %s  2>&1 | FileCheck -DFILE=%s %s
 
+; CHECK: [[FILE]]:[[@LINE+1]]:30: error: expected allockind value
----------------
jurahul wrote:

No real change here, just adding file name as well to the check

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


More information about the llvm-commits mailing list