================
@@ -0,0 +1,45 @@
+// RUN: %clang_cc1    -fsanitize=alloc-token -falloc-token-max=2147483647 
-triple x86_64-linux-gnu -x c -emit-llvm %s -o - | FileCheck %s
----------------
zmodem wrote:

This and the alloc-token.cpp test are not just checking Clang's codegen output, 
but the output after the instrumentation pass as well. That means for example 
that we never see the metadata nodes here.

I'm not sure how the clang-level tests for other sanitizers do it, but I think 
it's more common for CodeGen tests to check the output as clang emits it before 
transformations.

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

Reply via email to