================
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -triple aarch64-none-none -mbranch-target-enforce 
-msign-return-address=all -fcxx-exceptions -fexceptions -emit-llvm %s -o - | 
FileCheck %s --check-prefixes=CHECK
----------------
DanielKristofKiss wrote:

> perhaps it's time to add CodeGenCXX/AArch64/ ? We have more target-specific 
> directories under CodeGen.
> Then the weird arm64- prefix (not recommended for ELF/Arm official) can be 
> removed.

I'll create a NFC patch that cleans all of these up. (also in CodeGen where we 
have directories and prefixed files too.) 

> You can remove -fcxx-exceptions -fexceptions since they are unused

`__clang_call_terminate` is only generated when the exceptions are enabled. 
Clang generates the definition for it too and the test checks the right 
attributes for it.

> -triple aarch64-none-nonecan just be-triple aarch64`.

ack

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

Reply via email to