repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
ubsan-volatile.c
blob
66e045bcc6b41b99ae42e22bbfa8a658400b1538
1
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsanitize=null,alignment,object-size,vptr -emit-llvm %s -o - | FileCheck %s
2
3
// CHECK: @volatile_null_deref
4
void
volatile_null_deref
(
volatile
int
*
p
) {
5
// CHECK-NOT: call{{.*}}ubsan
6
*
p
;
7
}