Advertisement
Guest User

verifyDbFile_post_opt

a guest
Jun 9th, 2020
143
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Function Attrs: noinline nounwind optnone uwtable
  2. define internal fastcc void @verifyDbFile(%struct.unixFile* nocapture readonly %pFile) unnamed_addr #3 !dbg !39837 !type !39842 !type !5953 {
  3. entry:
  4. %buf.i = alloca %struct.stat64, align 8
  5. call void @llvm.dbg.declare(metadata %struct.stat64* %buf.i, metadata !38895, metadata !DIExpression()), !dbg !39843
  6. %buf = alloca %struct.stat64, align 8
  7. call void @llvm.dbg.value(metadata %struct.unixFile* %pFile, metadata !39839, metadata !DIExpression()), !dbg !39846
  8. %0 = bitcast %struct.stat64* %buf to i8*, !dbg !39847
  9. call void @llvm.lifetime.start.p0i8(i64 144, i8* nonnull %0) #22, !dbg !39847
  10. call void @llvm.dbg.declare(metadata %struct.stat64* %buf, metadata !39840, metadata !DIExpression()), !dbg !39848
  11. %ctrlFlags = getelementptr inbounds %struct.unixFile, %struct.unixFile* %pFile, i64 0, i32 5, !dbg !39849
  12. %1 = load i16, i16* %ctrlFlags, align 2, !dbg !39849, !tbaa !10909
  13. %2 = trunc i16 %1 to i8, !dbg !39851
  14. %tobool = icmp slt i8 %2, 0, !dbg !39851
  15. br i1 %tobool, label %cleanup, label %if.end, !dbg !39852
  16.  
  17. if.end: ; preds = %entry
  18. %3 = load i32 (i32, %struct.stat64*)*, i32 (i32, %struct.stat64*)** bitcast (void ()** getelementptr inbounds ([28 x %struct.unix_syscall], [28 x %struct.unix_syscall]* @aSyscall, i64 0, i64 5, i32 1) to i32 (i32, %struct.stat64*)**), align 8, !dbg !39853, !tbaa !10719
  19. %4 = bitcast i32 (i32, %struct.stat64*)* %3 to i8*, !dbg !39853, !nosanitize !3588
  20. %5 = ptrtoint i8* %4 to i64, !dbg !39853
  21. call void @__trace(i64 %5), !dbg !39853
  22. br label %trap, !dbg !39853
  23.  
  24. trap: ; preds = %if.end
  25. tail call void @llvm.trap() #27, !dbg !39853, !nosanitize !3588
  26. unreachable, !dbg !39853, !nosanitize !3588
  27.  
  28. cleanup: ; preds = %entry
  29. call void @llvm.lifetime.end.p0i8(i64 144, i8* nonnull %0) #22, !dbg !39854
  30. ret void, !dbg !39854
  31. }
Advertisement
RAW Paste Data Copied
Advertisement