diff options
| author | Andrew Kaylor <andrew.kaylor@intel.com> | 2012-12-21 00:26:22 +0000 |
|---|---|---|
| committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2012-12-21 00:26:22 +0000 |
| commit | 06a18d7d56dba3a344064b3522b6cd774ad33812 (patch) | |
| tree | 4c9bf7151aabd224779bbae36811f76a1e9b99ed | |
| parent | f115642b614e785023b332d11c0250f81ae650bd (diff) | |
| download | bcm5719-llvm-06a18d7d56dba3a344064b3522b6cd774ad33812.tar.gz bcm5719-llvm-06a18d7d56dba3a344064b3522b6cd774ad33812.zip | |
Updating TestAbbreviations.py to check for a reduced set of instructions when testing 'dis -f'.
Not all of the expected instructions were being generated for the function being disassembled on x86-64-based Linux. It had no push, pop or leave.
llvm-svn: 170818
| -rw-r--r-- | lldb/test/functionalities/abbreviation/TestAbbreviations.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/test/functionalities/abbreviation/TestAbbreviations.py b/lldb/test/functionalities/abbreviation/TestAbbreviations.py index 2f63020ce64..139823021fb 100644 --- a/lldb/test/functionalities/abbreviation/TestAbbreviations.py +++ b/lldb/test/functionalities/abbreviation/TestAbbreviations.py @@ -148,11 +148,9 @@ class AbbreviationsTestCase(TestBase): if self.getArchitecture() in ["", 'x86_64', 'i386']: self.expect("dis -f", startstr = "a.out`sum(int, int)", - substrs = [' push', - ' mov', + substrs = [' mov', ' addl ', - 'ret'], - patterns = ['(leave|popq|popl)']) + 'ret']) self.expect("i d l main.cpp", patterns = ["Line table for .*main.cpp in `a.out"]) |

