projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unify clang/llvm attributes for asan/tsan/msan (LLVM part)
[oota-llvm.git]
/
test
/
Instrumentation
/
AddressSanitizer
/
instrument_initializer_metadata.ll
diff --git
a/test/Instrumentation/AddressSanitizer/instrument_initializer_metadata.ll
b/test/Instrumentation/AddressSanitizer/instrument_initializer_metadata.ll
index 042c06ba969215f8845d5ba1e82d2a416c485d38..584db3762baed059088fa5a7b96a3fa59e0fa0c4 100644
(file)
--- a/
test/Instrumentation/AddressSanitizer/instrument_initializer_metadata.ll
+++ b/
test/Instrumentation/AddressSanitizer/instrument_initializer_metadata.ll
@@
-23,7
+23,7
@@
entry:
ret void
}
ret void
}
-define internal void @_GLOBAL__I_a()
address_safety
section ".text.startup" {
+define internal void @_GLOBAL__I_a()
sanitize_address
section ".text.startup" {
entry:
call void @__cxx_global_var_init()
ret void
entry:
call void @__cxx_global_var_init()
ret void
@@
-40,7
+40,7
@@
entry:
; CHECK: ret
; Check that xxx is instrumented.
; CHECK: ret
; Check that xxx is instrumented.
-define void @touch_xxx()
address_safety
{
+define void @touch_xxx()
sanitize_address
{
store i32 0, i32 *@xxx, align 4
ret void
; CHECK: define void @touch_xxx
store i32 0, i32 *@xxx, align 4
ret void
; CHECK: define void @touch_xxx
@@
-49,7
+49,7
@@
define void @touch_xxx() address_safety {
}
; Check that XXX is instrumented.
}
; Check that XXX is instrumented.
-define void @touch_XXX()
address_safety
{
+define void @touch_XXX()
sanitize_address
{
store i32 0, i32 *@XXX, align 4
ret void
; CHECK: define void @touch_XXX
store i32 0, i32 *@XXX, align 4
ret void
; CHECK: define void @touch_XXX
@@
-59,7
+59,7
@@
define void @touch_XXX() address_safety {
; Check that yyy is NOT instrumented (as it does not have dynamic initializer).
; Check that yyy is NOT instrumented (as it does not have dynamic initializer).
-define void @touch_yyy()
address_safety
{
+define void @touch_yyy()
sanitize_address
{
store i32 0, i32 *@yyy, align 4
ret void
; CHECK: define void @touch_yyy
store i32 0, i32 *@yyy, align 4
ret void
; CHECK: define void @touch_yyy
@@
-68,7
+68,7
@@
define void @touch_yyy() address_safety {
}
; Check that YYY is NOT instrumented (as it does not have dynamic initializer).
}
; Check that YYY is NOT instrumented (as it does not have dynamic initializer).
-define void @touch_YYY()
address_safety
{
+define void @touch_YYY()
sanitize_address
{
store i32 0, i32 *@YYY, align 4
ret void
; CHECK: define void @touch_YYY
store i32 0, i32 *@YYY, align 4
ret void
; CHECK: define void @touch_YYY