1; Test that the coverage guards have proper comdat 2; RUN: opt < %s -sancov -sanitizer-coverage-level=3 -sanitizer-coverage-trace-pc-guard -S | FileCheck %s 3target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" 4target triple = "x86_64-unknown-linux-gnu" 5$Foo = comdat any 6; Function Attrs: uwtable 7define linkonce_odr void @Foo() comdat { 8entry: 9 ret void 10} 11 12; CHECK: @__sancov_guard.Foo = linkonce_odr hidden global [1 x i32] zeroinitializer, section "__sancov_guards", comdat($Foo) 13