aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Kaylor <andrew.kaylor@intel.com>2021-09-29 12:25:16 -0700
committerTom Stellard <tstellar@redhat.com>2021-10-27 08:37:31 -0700
commit08e3a5ccd952edee36b3c002e3a29c6b1b5153de (patch)
tree50abdf6e5726b5f6d0b8f3355be6be5577b223cb
parent26e2c97bf14c1105f8db3a087ea8994c776a18bc (diff)
downloadllvm-08e3a5ccd952edee36b3c002e3a29c6b1b5153de.zip
llvm-08e3a5ccd952edee36b3c002e3a29c6b1b5153de.tar.gz
llvm-08e3a5ccd952edee36b3c002e3a29c6b1b5153de.tar.bz2
[IntelJITListener] Fix order in JitListener/multiple.ll
As reported in Bugzilla 51859, the JitListener/multiple.ll test had become stale. The function order in the emitted image was changed by an update to the MC/ElfObjectWriter code and because this test is disabled by default, it wasn't updated. (cherry picked from commit e49c0c5100b992e1a18c7225bc147431089f560f)
-rw-r--r--llvm/test/JitListener/multiple.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/JitListener/multiple.ll b/llvm/test/JitListener/multiple.ll
index d60bf0b..15b81ea 100644
--- a/llvm/test/JitListener/multiple.ll
+++ b/llvm/test/JitListener/multiple.ll
@@ -26,16 +26,16 @@
; 21: }
;
-; CHECK: Method load [1]: bar, Size = {{[0-9]+}}
+; CHECK: Method load [1]: foo, Size = {{[0-9]+}}
+; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[1,2]}}
+; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[1,2]}}
+
+; CHECK: Method load [2]: bar, Size = {{[0-9]+}}
; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[5,6,7,9]}}
; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[5,6,7,9]}}
; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[5,6,7,9]}}
; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[5,6,7,9]}}
-; CHECK: Method load [2]: foo, Size = {{[0-9]+}}
-; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[1,2]}}
-; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[1,2]}}
-
; CHECK: Method load [3]: fubar, Size = {{[0-9]+}}
; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[12,13,15,17,19]}}
; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[12,13,15,17,19]}}