OSDN Git Service

[sanitizer-coverage] ensure minimal alignment for coverage counters and guards
[android-x86/external-llvm.git] / test / Instrumentation / SanitizerCoverage / inline-8bit-counters.ll
index 5b5b751..597f77f 100644 (file)
@@ -5,6 +5,7 @@ target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f3
 target triple = "x86_64-unknown-linux-gnu"
 define void @foo() {
 entry:
+; CHECK: section "__sancov_cntrs", align 1
 ; CHECK:  %0 = load i8, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @__sancov_gen_, i64 0, i64 0), !nosanitize
 ; CHECK:  %1 = add i8 %0, 1
 ; CHECK:  store i8 %1, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @__sancov_gen_, i64 0, i64 0), !nosanitize