[clang] [RISCV] Disable generation of asynchronous unwind tables for RISCV baremetal (PR #81727)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 19 15:37:24 PST 2024


================
@@ -421,3 +421,11 @@
 // MIPSN32R6EL: "-target-cpu" "mips64r6"
 // MIPSN32R6EL: "-target-abi" "n32"
 // MIPSN32R6EL: "-mfloat-abi" "hard"
+
+// RUN: %clang --target=riscv32-unknown-elf --gcc-toolchain="" -### %s 2>&1 | FileCheck %s -check-prefix=NOUWTABLE
----------------
MaskRay wrote:

clang/test/Driver/riscv-features.c seems better. clang-translation.c tests miscellaneous stuff.

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


More information about the cfe-commits mailing list