[llvm-branch-commits] [llvm] 08e3a5c - [IntelJITListener] Fix order in JitListener/multiple.ll

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Oct 27 08:37:48 PDT 2021


Author: Andy Kaylor
Date: 2021-10-27T08:37:31-07:00
New Revision: 08e3a5ccd952edee36b3c002e3a29c6b1b5153de

URL: https://github.com/llvm/llvm-project/commit/08e3a5ccd952edee36b3c002e3a29c6b1b5153de
DIFF: https://github.com/llvm/llvm-project/commit/08e3a5ccd952edee36b3c002e3a29c6b1b5153de.diff

LOG: [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)

Added: 
    

Modified: 
    llvm/test/JitListener/multiple.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/JitListener/multiple.ll b/llvm/test/JitListener/multiple.ll
index d60bf0b794ff0..15b81ea558151 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]}}


        


More information about the llvm-branch-commits mailing list