teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities
Dimitar Vlahovski ee44a92df6 Revert "Intel(R) Memory Protection Extensions (Intel(R) MPX) support."
This reverts commit rL280668 because the register tests fail on i386
Linux.

I investigated a little bit what causes the failure - there are missing
registers when running 'register read -a'.
This is the output I got at the bottom:
"""
...
Memory Protection Extensions:
      bnd0 = {0x0000000000000000 0x0000000000000000}
      bnd1 = {0x0000000000000000 0x0000000000000000}
      bnd2 = {0x0000000000000000 0x0000000000000000}
      bnd3 = {0x0000000000000000 0x0000000000000000}

unknown:
2 registers were unavailable.
"""

Also looking at the packets exchanged between the client and server:
"""
...
history[308] tid=0x7338 <  19> send packet: $qRegisterInfo4a#d7
history[309] tid=0x7338 < 130> read packet:
$name:bnd0;bitsize:128;offset:1032;encoding:vector;format:vector-uint64;set:Memory
Protection Extensions;ehframe:101;dwarf:101;#48
history[310] tid=0x7338 <  19> send packet: $qRegisterInfo4b#d8
history[311] tid=0x7338 < 130> read packet:
$name:bnd1;bitsize:128;offset:1048;encoding:vector;format:vector-uint64;set:Memory
Protection Extensions;ehframe:102;dwarf:102;#52
history[312] tid=0x7338 <  19> send packet: $qRegisterInfo4c#d9
history[313] tid=0x7338 < 130> read packet:
$name:bnd2;bitsize:128;offset:1064;encoding:vector;format:vector-uint64;set:Memory
Protection Extensions;ehframe:103;dwarf:103;#53
history[314] tid=0x7338 <  19> send packet: $qRegisterInfo4d#da
history[315] tid=0x7338 < 130> read packet:
$name:bnd3;bitsize:128;offset:1080;encoding:vector;format:vector-uint64;set:Memory
Protection Extensions;ehframe:104;dwarf:104;#54
history[316] tid=0x7338 <  19> send packet: $qRegisterInfo4e#db
history[317] tid=0x7338 <  76> read packet:
$name:bndcfgu;bitsize:64;offset:1096;encoding:vector;format:vector-uint8;#99
history[318] tid=0x7338 <  19> send packet: $qRegisterInfo4f#dc
history[319] tid=0x7338 <  78> read packet:
$name:bndstatus;bitsize:64;offset:1104;encoding:vector;format:vector-uint8;#8e
...
"""

The bndcfgu and bndstatus registers don't have the 'Memory Protections
Extension' set. I looked at the code and it seems that that is set
correctly.

So I'm not sure what's the problem or where does it come from.

Also there is a second failure related to something like this in the
tests:
"""
registerSet.GetName().lower()
"""

For some reason the registerSet.GetName() returns None.

llvm-svn: 280703
2016-09-06 11:00:37 +00:00
..
abbreviation Remove expectedFlakeyFreeBSD decorator for prompt setting 2016-02-18 21:38:24 +00:00
alias
apropos_with_process Fix a bug where LLDB would crash if 'apropos <anything>' was used after spawning an inferior process 2016-04-20 20:48:05 +00:00
archives Mark some aarch64-linux specific xfails marking bug entries 2016-05-25 22:30:05 +00:00
asan Update test for r268192. 2016-05-01 11:32:10 +00:00
attach_resume [test] make expect_state_changes actually expect *only* them 2016-04-14 15:52:58 +00:00
avoids-fd-leak Fixup TestFdLeak 2016-04-12 13:55:54 +00:00
backticks Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
breakpoint Remove a test that depends on knowing all compiler's register allocation schemes. 2016-08-19 22:58:26 +00:00
command_history Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
command_regex Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
command_script LLDB help content has accumulated over time without a recent attempt to 2016-07-14 22:03:10 +00:00
command_script_alias Fix an issue where one could not define a Python command with the same name as an existing alias (or rather, one could but the results of invoking the command were far from satisfactory) 2016-07-11 17:36:55 +00:00
command_script_immediate_output Enable some tests on linux 2016-06-09 22:39:36 +00:00
command_source Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
completion Add target and host platform enumerations so we're not using strings. 2016-02-18 18:50:02 +00:00
conditional_break Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
darwin_log Add StructuredData plugin type; showcase with new DarwinLog feature 2016-08-19 04:21:48 +00:00
data-formatter Change the formula for tagged NSIndexPath data formatting 2016-09-01 18:09:01 +00:00
dead-strip Add "-gmodules" support to the test suite. 2016-05-26 13:57:03 +00:00
disassembly Support Linux on SystemZ as platform 2016-04-14 14:28:34 +00:00
dynamic_value_child_count Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
embedded_interpreter Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
exec When calling TypeSystemMap::Clear, objects being destroyed in the process of 2016-02-12 00:03:19 +00:00
expr-doesnt-deadlock Remove flaky decorator from three tests on linux 2016-04-27 12:43:37 +00:00
fat_archives Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
format Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
frame-diagnose Added the "frame diagnose" command and use its output to make crash info better. 2016-09-06 04:48:36 +00:00
inferior-assert [LLDB][MIPS] Fix TestInferiorAssert.py for MIPS 2016-02-26 13:30:34 +00:00
inferior-changed fix invalid assumption about the executable module in Target::Install() 2016-06-27 23:21:49 +00:00
inferior-crashing Skip 2 android test what is broken because of debuggerd 2016-08-12 14:17:05 +00:00
inline-stepping Remove XFAIL from test passing on FreeBSD 2016-02-19 17:35:01 +00:00
jitloader_gdb Move some of the common decorators to decorators.py. 2016-02-04 18:03:01 +00:00
launch_with_shellexpand Improve the way LLDB escapes arguments before passing them to the shell 2016-04-04 22:46:38 +00:00
llvm Fix xfail for test_tilde_home_directory on windows 2016-04-20 09:54:47 +00:00
load_unload Move some of the common decorators to decorators.py. 2016-02-04 18:03:01 +00:00
longjmp Remove expectedFailureLinux decorator. 2016-02-10 19:53:36 +00:00
memory Reapply "Make Scalar::GetValue more consistent" 2016-09-02 10:58:52 +00:00
multidebugger_commands Change 'apropos' such that it doesn't look into the "long help/syntax" strings for commands 2016-03-23 01:21:55 +00:00
nested_alias LLDB help content has accumulated over time without a recent attempt to 2016-07-14 22:03:10 +00:00
non-overlapping-index-variable-i Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
nosucharch Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
object-file Don't run TestImageListMultiArchitecture during remote test suite 2016-06-24 20:44:23 +00:00
paths Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
platform Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
plugins Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
postmortem Add/fix support for i386 elf core files 2016-07-29 13:18:09 +00:00
process_attach [NFC] Cleanup the code used to run shell commands from tests 2016-04-05 14:08:18 +00:00
process_group [NFC] Cleanup the code used to run shell commands from tests 2016-04-05 14:08:18 +00:00
process_launch Remove expectedFailureLinux decorator. 2016-02-10 19:53:36 +00:00
process_save_core Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
ptr_refs Added a testcase for the ptr_refs tool so we catch if it stops working. 2016-05-03 20:36:06 +00:00
recursion Remove use_lldb_suite from the package, and don't import it anymore. 2015-11-03 19:20:39 +00:00
register Revert "Intel(R) Memory Protection Extensions (Intel(R) MPX) support." 2016-09-06 11:00:37 +00:00
rerun Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
return-value Revert a part of "Add/Improve complex, vector, aggregate types handling for SysV ARM (hard/soft) ABI." 2016-02-29 14:26:45 +00:00
set-data Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
signal Remove expectedFailureFreeBSD decorator 2016-02-19 19:25:03 +00:00
single-quote-in-filename-to-lldb Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
step-avoids-no-debug mark newly failing tests as XFAIL 2016-07-14 10:43:24 +00:00
stop-hook Remove expected failure and skip decorators for host os. 2016-02-09 21:36:02 +00:00
target_command Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
thread Disable TestThreadSpecificBpPlusCondition on Windows. 2016-08-12 17:15:38 +00:00
tsan [tsan] Prefer mangled name looking up variable declaration for racy address 2016-06-01 21:32:45 +00:00
tty Move the rest of the tests over to using the new decorator module. 2016-02-04 23:04:17 +00:00
type_completion Delete all the xfail / skip decorators for specific compilers. 2016-02-09 21:36:15 +00:00
type_lookup Make 'type lookup' print an error message instead of complete radio silence when it can't find a type matching user input 2016-03-24 21:32:39 +00:00
unwind Fix for PrintStackTraces 2016-07-07 13:00:29 +00:00
value_md5_crash Remove expectedFailureWindows decorator. 2016-02-08 19:34:59 +00:00
watchpoint Fixed "void SBWatchpoint::SetEnabled (bool enabled)" to work properly and added a test for it. 2016-07-27 20:47:49 +00:00