Home | History | Annotate | Download | only in MemorySanitizer
      1 ; Test that MSan does not emit undefined symbol __executable_start when it is
      2 ; not needed (i.e. without -msan-wrap-indirect-calls).
      3 
      4 ; RUN: opt < %s -msan -S | FileCheck %s
      5 
      6 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
      7 target triple = "x86_64-unknown-linux-gnu"
      8 
      9 ; Function Attrs: nounwind uwtable
     10 define void @_Z1fv() #0 {
     11 entry:
     12   ret void
     13 }
     14 
     15 attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
     16 
     17 !llvm.ident = !{!0}
     18 
     19 !0 = metadata !{metadata !"clang version 3.5.0 (208165)"}
     20 
     21 ; CHECK-NOT: __executable_start
     22