[Lldb-commits] [lldb] r122071 - /lldb/trunk/test/order/TestOrderFile.py
Johnny Chen
johnny.chen at apple.com
Fri Dec 17 10:02:09 PST 2010
Author: johnny
Date: Fri Dec 17 12:02:08 2010
New Revision: 122071
URL: http://llvm.org/viewvc/llvm-project?rev=122071&view=rev
Log:
Fix wrong test logic -- should pass "-s address" option to "image dump symtab"
in order to sort the output by address.
Modified:
lldb/trunk/test/order/TestOrderFile.py
Modified: lldb/trunk/test/order/TestOrderFile.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/order/TestOrderFile.py?rev=122071&r1=122070&r2=122071&view=diff
==============================================================================
--- lldb/trunk/test/order/TestOrderFile.py (original)
+++ lldb/trunk/test/order/TestOrderFile.py Fri Dec 17 12:02:08 2010
@@ -29,7 +29,8 @@
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
# Test that the debug symbols have Function f3 before Function f1.
- self.runCmd("image dump symtab a.out")
+ # Use "-s address" option to sort by address.
+ self.runCmd("image dump symtab -s address a.out")
output = self.res.GetOutput()
mo_f3 = re.search("Code +.+f3", output)
mo_f1 = re.search("Code +.+f1", output)
More information about the lldb-commits
mailing list