================
@@ -0,0 +1,68 @@
+; RUN: llvm-as %s -o %t1.bc
+; RUN: llvm-as %p/Inputs/global-inline-asm-flags.ll -o %t2.bc
+; RUN: llvm-lto -save-merged-module -filetype=asm -mattr=+pauth %t1.bc %t2.bc 
-o %t3
----------------
asavonic wrote:

> I think the for LTO we need some cases where there's more than one module. 
`LTO/AArch64/global-inline-asm-flags.ll` is supposed to be such a test. I don't 
fully know about all the different LTO modes that we have, so maybe I'm missing 
something.

> Additionally we should also have a test w/ llvm-lto2, as well as at least one 
> case where the flags conflict somehow.
Yes, I think we need a test for "duplicated" symbols (declarations?). I'm going 
to add it tomorrow.

https://github.com/llvm/llvm-project/pull/174995
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to