Skip to content

Commit 09f2f27

Browse files
committed
Update lto-module-asm-err.ll
1 parent 4e5fb8b commit 09f2f27

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lld/test/MachO/lto-module-asm-err.ll

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
; RUN: not %lld %t.bc -o /dev/null 2>&1 | FileCheck %s --check-prefix=REGULAR
44

55
;; For regular LTO, the original module name is lost.
6-
;; TODO Fix the line number
7-
; REGULAR: error: ld-temp.o <inline asm>:3:1: invalid instruction mnemonic 'invalid'
6+
; REGULAR: error: <inline asm>:2:1: invalid instruction mnemonic 'invalid'
87

9-
; RUN: opt -module-summary %s -o %t.bc
10-
; RUN: not %lld %t.bc -o /dev/null 2>&1 | FileCheck %s --check-prefix=THIN
8+
; RUN: not opt -module-summary %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=THIN
119

12-
; THIN: error: {{.*}}.bc <inline asm>:2:1: invalid instruction mnemonic 'invalid'
10+
; THIN: error: <inline asm>:2:1: invalid instruction mnemonic 'invalid'
1311

1412
target triple = "x86_64-apple-macosx10.15.0"
1513
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"

0 commit comments

Comments
 (0)