================
@@ -17,3 +17,10 @@
 
 // RUN: not %clangxx --target=x86_64-linux-gnu -fprofile-generate 
-fmemory-profile-use=foo %s -### 2>&1 | FileCheck %s 
--check-prefix=CONFLICTWITHPGOINSTR
 // CONFLICTWITHPGOINSTR: error: invalid argument '-fmemory-profile-use=foo' 
not allowed with '-fprofile-generate'
+
+// RUN: %clangxx --target=arm64-apple-ios -fmemory-profile 
-fmemory-profile-runtime-default-options="verbose=1" %s -### 2>&1 | FileCheck 
%s --check-prefix=OPTS
----------------
teresajohnson wrote:

Can you add a comment above this block about what is being tested? Also maybe 
add a non-apple test to check that we don't add an exported symbol option in 
that case.

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

Reply via email to