summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/order/TestOrderFile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/order/TestOrderFile.py b/lldb/test/order/TestOrderFile.py
index c02b88794f2..2aa500b4db1 100644
--- a/lldb/test/order/TestOrderFile.py
+++ b/lldb/test/order/TestOrderFile.py
@@ -20,8 +20,8 @@ class OrderFileTestCase(TestBase):
# Test that the debug symbols have Function f3 before Function f1.
self.runCmd("image dump symtab a.out")
output = self.res.GetOutput()
- mo_f3 = re.search("Function +.+f3", output)
- mo_f1 = re.search("Function +.+f1", output)
+ mo_f3 = re.search("Code +.+f3", output)
+ mo_f1 = re.search("Code +.+f1", output)
# Match objects for f3 and f1 must exist and f3 must come before f1.
self.assertTrue(mo_f3 and mo_f1 and mo_f3.start() < mo_f1.start(),
OpenPOWER on IntegriCloud