Revert "Reapply "[llvm-jitlink] Use concurrent linking by default." with fixes. ...
[llvm-project.git] / clang / test / CodeGen / sanitize-blocks.c
blob2b1b0ae6c6f2748d10de455233f545a2684d6f07
1 // RUN: %clang_cc1 -fsanitize-trap=returns-nonnull-attribute -fsanitize=returns-nonnull-attribute -emit-llvm %s -o - -triple x86_64-apple-darwin10 -fblocks | FileCheck %s
3 // Awkward interactions of sanitizers with blocks.
5 const char *TheString = "Hello, world!";
6 const char *(^getString)(void) = ^{
7 return TheString;
8 };
10 // CHECK-LABEL: define internal ptr @getString_block_invoke
12 // TODO: Actually support returns_nonnull on blocks.