Skip to content

[BoundsSaftey] Fix test failure for annotation remarks #9903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions llvm/test/Transforms/Util/auto-init-annotation-remarks.ll
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memo
!llvm.module.flags = !{!4}

!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1, producer: "debugify", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug)
!1 = !DIFile(filename: "/Users/zainjaffal/Repos/internal/llvm-project2/llvm/test/Transforms/Util/bounds-safety-annotation-remarks.ll", directory: "/")
!1 = !DIFile(filename: "/llvm-project/llvm/test/Transforms/Util/bounds-safety-annotation-remarks.ll", directory: "/")
!2 = !{i32 4}
!3 = !{i32 1}
!4 = !{i32 2, !"Debug Info Version", i32 3}
Expand Down Expand Up @@ -54,7 +54,7 @@ attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memo
; CHECK-NEXT: Pass: annotation-remarks
; CHECK-NEXT: Name: AutoInitStore
; CHECK-NEXT: DebugLoc: { File:
; CHECK-NEXT: Line: 3, Column: 1 }
; CHECK-NEXT: Line: 2, Column: 1 }
; CHECK-NEXT: Function: test1
; CHECK-NEXT: Args:
; CHECK-NEXT: - String: Store inserted by -ftrivial-auto-var-init.
Expand All @@ -78,7 +78,7 @@ attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memo
; CHECK-NEXT: Pass: annotation-remarks
; CHECK-NEXT: Name: AutoInitStore
; CHECK-NEXT: DebugLoc: { File:
; CHECK-NEXT: Line: 2, Column: 1 }
; CHECK-NEXT: Line: 3, Column: 1 }
; CHECK-NEXT: Function: test1
; CHECK-NEXT: Args:
; CHECK-NEXT: - String: Store inserted by -ftrivial-auto-var-init.
Expand All @@ -97,4 +97,4 @@ attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memo
; CHECK-NEXT: - String: ' Atomic: '
; CHECK-NEXT: - StoreAtomic: 'false'
; CHECK-NEXT: - String: .
; CHECK-NEXT: ...
; CHECK-NEXT: ...