llvm-project/lldb/lit
Pavel Labath ef82098a80 Remove DWARFExpression::LocationListSize
Summary:
The only reason for this function's existance is so that we could pass
the correct size into the DWARFExpression constructor. However, there is
no harm in passing the entire data extractor into the DWARFExpression,
since the same code is performing the size determination as well as the
subsequent parse. So, if we get malformed input or there's a bug in the
parser, we'd compute the wrong size anyway.

Additionally, reducing the number of entry points into the location list
parsing machinery makes it easier to switch the llvm debug_loc(lists)
parsers.

While inside, I added a couple of tests for invalid location list
handling.

Reviewers: JDevlieghere, clayborg

Subscribers: aprantl, javed.absar, kristof.beyls, lldb-commits

Differential Revision: https://reviews.llvm.org/D66789

llvm-svn: 370373
2019-08-29 15:21:26 +00:00
..
Breakpoint Fix flakiness in lldb lit test 2019-05-13 09:48:26 +00:00
BuildScript [lldb] [lit] Pass --mode=compile to fix compiler-full-path.test 2019-05-15 10:48:55 +00:00
Commands [lldb] [lit] Skip more tests when Python is unavailable 2019-05-19 09:27:52 +00:00
Driver [Driver] Expand the executable path in the target create output 2019-08-07 16:21:40 +00:00
ExecControl/StopHook Fix file names in file headers. NFC 2019-05-13 04:42:32 +00:00
Expr [lit] Make sure tests are actually skipped on darwin and windows. 2019-01-17 21:57:33 +00:00
Heap Fix lldb's macosx/heap.py cstr command. 2018-12-17 18:21:51 +00:00
Minidump Recommit "Minidump/Windows: Fix module lookup"" 2019-08-21 13:20:25 +00:00
Modules Upstream support for macCatalyst Mach-O binaries. 2019-08-23 21:28:14 +00:00
Process Disable TestEnvironment on Windows 2019-05-13 22:02:09 +00:00
Python Avoid using -S in combination with "script"; it's unreliable. 2019-03-07 00:46:56 +00:00
Quit [lldb] Update shebang python2 -> python 2019-01-26 01:05:02 +00:00
Register [lldb] [lit] Fix whitespace in matches for remaining AVX512 tests 2019-05-15 03:32:47 +00:00
Reproducer [Reproducers] Force replay in synchronous mode. 2019-07-31 23:34:45 +00:00
Settings [FormatEntity] Ignore ASCII escape sequences when colors are disabled. 2019-05-31 16:27:44 +00:00
Suite [dotest] Remove -q (quiet) flag. 2019-08-28 16:28:58 +00:00
SymbolFile Remove DWARFExpression::LocationListSize 2019-08-29 15:21:26 +00:00
Unit [CMake] In standalone builds, LLVM_BINARY_DIR should point to LLVM's binary directory 2019-01-09 16:25:37 +00:00
Unwind Use rip-relative addressing in asm test 2019-08-02 19:06:15 +00:00
Watchpoint [test] Convert TestWatchpointSetErrorCases.py to lit 2019-05-02 01:54:05 +00:00
helper [lldb][NFC] Cleanup mentions and code related to lldb-mi 2019-07-19 15:55:23 +00:00
CMakeLists.txt Add llvm-dwarfdump to the list of test dependencies 2019-08-01 12:50:25 +00:00
lit-lldb-init.in [lldb] Increase testsuite packet-timeout 5secs -> 1min 2019-07-29 16:10:16 +00:00
lit.cfg.py [AIX][lit] Don't depend on psutil on AIX 2019-07-24 15:04:27 +00:00
lit.site.cfg.py.in Make lldb-mi optional and change how we deal with missing tools in lit 2019-05-03 20:33:58 +00:00