[llvm-branch-commits] [lldb] 7143923 - Fix lldb test failure due to D93082.

Sriraman Tallam via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 23 14:20:37 PST 2020


Author: Sriraman Tallam
Date: 2020-12-23T14:16:27-08:00
New Revision: 7143923f86b5d13cb079010b908e55f7f78cb75e

URL: https://github.com/llvm/llvm-project/commit/7143923f86b5d13cb079010b908e55f7f78cb75e
DIFF: https://github.com/llvm/llvm-project/commit/7143923f86b5d13cb079010b908e55f7f78cb75e.diff

LOG: Fix lldb test failure due to D93082.

Rename the basic block symbols in the test to reflect the new names.

Added: 
    

Modified: 
    lldb/test/Shell/Unwind/basic-block-sections.test

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/Unwind/basic-block-sections.test b/lldb/test/Shell/Unwind/basic-block-sections.test
index 7b24a8675863..8e563b731057 100644
--- a/lldb/test/Shell/Unwind/basic-block-sections.test
+++ b/lldb/test/Shell/Unwind/basic-block-sections.test
@@ -12,22 +12,22 @@
 # RUN: %lldb %t -s %s -o exit | FileCheck  %s --check-prefix=BBSECTIONS
 
 # Reorder basic blocks so that main's basic blocks are discontiguous
-# RUN: echo "main.3" > %t.order
+# RUN: echo "main.__part.3" > %t.order
 # RUN: echo "bar" >> %t.order
 # RUN: echo "main" >> %t.order
-# RUN: echo "main.2" >> %t.order
+# RUN: echo "main.__part.2" >> %t.order
 # RUN: echo "foo" >> %t.order
-# RUN: echo "main.1" >> %t.order
+# RUN: echo "main.__part.1" >> %t.order
 # RUN: %clang_host %p/Inputs/basic-block-sections.c -o %t -fbasic-block-sections=all -fuse-ld=lld -Wl,--symbol-ordering-file,%t.order -Wl,--warn-symbol-ordering -Wl,--fatal-warnings
 # RUN: %lldb %t -s %s -o exit | FileCheck  %s --check-prefix=BBSECTIONS
 
 # Test the reverse permutation too.
-# RUN: echo "main.1" > %t.order
+# RUN: echo "main.__part.1" > %t.order
 # RUN: echo "foo" >> %t.order
-# RUN: echo "main.2" >> %t.order
+# RUN: echo "main.__part.2" >> %t.order
 # RUN: echo "main" >> %t.order
 # RUN: echo "bar" >> %t.order
-# RUN: echo "main.3" >> %t.order
+# RUN: echo "main.__part.3" >> %t.order
 # RUN: %clang_host %p/Inputs/basic-block-sections.c -o %t -fbasic-block-sections=all -fuse-ld=lld -Wl,--symbol-ordering-file,%t.order -Wl,--warn-symbol-ordering -Wl,--fatal-warnings
 # RUN: %lldb %t -s %s -o exit | FileCheck  %s --check-prefix=BBSECTIONS
 
@@ -46,4 +46,4 @@ thread backtrace
 
 # BBSECTIONS: frame #0: {{.*}}`bar
 # BBSECTIONS: frame #1: {{.*}}`foo
-# BBSECTIONS: frame #2: {{.*}}`main.1 +
+# BBSECTIONS: frame #2: {{.*}}`main.__part.1 +


        


More information about the llvm-branch-commits mailing list