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
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
ubsan-volatile.c
blob
ce54aada81fd51fcfea90c93384cc0b36b33916c
1
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsanitize=null,alignment,object-size,vptr -S -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
}