Files
clang-p2996/clang/test/CodeGen/sanitize-blocks.c
Aaron Ballman d618f1c3b1 Remove rdar links; NFC
This removes links to rdar, which is an internal bug tracker that the
community doesn't have visibility into.

See further discussion at:
https://discourse.llvm.org/t/code-review-reminder-about-links-in-code-commit-messages/71847
2023-07-07 08:41:11 -04:00

13 lines
439 B
C

// RUN: %clang_cc1 -fsanitize-trap=returns-nonnull-attribute -fsanitize=returns-nonnull-attribute -emit-llvm %s -o - -triple x86_64-apple-darwin10 -fblocks | FileCheck %s
// Awkward interactions of sanitizers with blocks.
const char *TheString = "Hello, world!";
const char *(^getString)(void) = ^{
return TheString;
};
// CHECK-LABEL: define internal ptr @getString_block_invoke
// TODO: Actually support returns_nonnull on blocks.