[clang] [llvm] [Hexagon] ELF attributes for Hexagon (PR #85359)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 22:15:23 PDT 2024


================
@@ -0,0 +1,24 @@
+/// attribute parsing error cases.
+
+// RUN: not llvm-mc -triple=hexagon -filetype=asm %s 2>&1 \
+// RUN:   | FileCheck %s
+
+  .attribute Tag_unknown_name, 0
+// CHECK: error: attribute name not recognized: Tag_unknown_name
----------------
MaskRay wrote:

Newer MC tests try to test the error line/column information like: `[[#@LINE-1]]:4: error:`

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


More information about the llvm-commits mailing list