| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch is necessary because individual test cases are not required
to have unique names. Therefore, test cases must now
be specified explicitly in the form <TestCase>.<TestMethod>.
Because it works by regex matching, passing just <TestCase> will
still disable an entire file.
This also allows for multiple exclusion files to be specified.
Reviewers: zturner, labath, jingham, tfiala
Subscribers: lldb-commits, sas
Differential Revision: https://reviews.llvm.org/D24988
llvm-svn: 283238
|
|
|
|
| |
llvm-svn: 283237
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
unittests. If I have time, I'd like to see if I can write some
tests of the eh_frame augmentation which is a wholly separate code
path (it seems like maybe it should be rolled into the main instruction
scanning codepath, to be honest, and operate on the generated
UnwindPlan instead of bothering with raw instructions at all).
Outside the eh_frame augmentation, I'm comfortable that this unwind
generator is being tested well now.
llvm-svn: 283186
|
|
|
|
|
|
| |
I missed an if/else branch when doing the conversion.
llvm-svn: 283176
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Use os.getcwd() instead of get_process_working_directory() as prefix for
souce file.
Reviewers: labath
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D25217
llvm-svn: 283171
|
|
|
|
| |
llvm-svn: 283168
|
|
|
|
|
|
|
|
| |
amount of extra change on top of multimap
Also, proper formatting..
llvm-svn: 283167
|
|
|
|
|
|
| |
Fixes rdar://28237486
llvm-svn: 283160
|
|
|
|
|
|
|
| |
Mostly this involves simplifying some logical constructs and using
some ranges instead of index-based iteration. NFC
llvm-svn: 283159
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were a number of issues with the Args class preventing
efficient use of strings and incoporating LLVM's StringRef class.
The two biggest were:
1. Backing memory stored in a std::string, so we would frequently
have to use const_cast to get a mutable buffer for passing to
various low level APIs.
2. backing std::strings stored in a std::list, which doesn't
provide random access.
I wanted to solve these two issues so that we could provide
StringRef access to the underlying arguments, and also a way
to provide range-based access to the underlying argument array
while still providing convenient c-style access via an argv style
const char**.
The solution here is to store arguments in a single "entry" class
which contains the backing memory, a StringRef with precomputed
length, and the quote char. The backing memory is a manually
allocated const char* so that it is not invalidated when the
container is resized, and there is a separate argv array provided
for c-style access.
Differential revision: https://reviews.llvm.org/D25099
llvm-svn: 283157
|
|
|
|
|
|
|
| |
Since we count on it in a few places, the test verifies that the
test instance has an id() method that returns something non-None.
llvm-svn: 283156
|
|
|
|
|
|
| |
https://reviews.llvm.org/D25167
llvm-svn: 283082
|
|
|
|
|
|
| |
These are missing dependencies that have been exposed in builds as a result of my change to make lldb libraries depend on CLANG_TABLEGEN_TARGETS instead of libclang.
llvm-svn: 283081
|
|
|
|
|
|
| |
Test fixed.
llvm-svn: 283069
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in lldb-mi
Summary: The code added in svn r264332 causes "(lldb) " to be printed in the
middle of program console output. This fix restores the behavior for non-Windows
platforms to before the patch.
Reviewers: ted, zturner, clayborg
Subscribers: amccarth, lldb-commits
Differential Revision: http://reviews.llvm.org/D25137
llvm-svn: 283031
|
|
|
|
| |
llvm-svn: 283018
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
assembly inspection class is designed to detect. This is only about
half of the instructions that it needs to recognize - I'll complete
this in a separate checkin.
The larger full-function style test cases I'd checked in previously
covered nearly all of these already, but I wanted simpler test cases
too, so if they fail in the future, it will be easier to spot the
issue.
llvm-svn: 283010
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The lldbutil.run_break_set_by_file_and_line has already checked that the number of
locations was 1, so don't check it again. And certainly don't check it again by
grubbing in break list output.
Also, we know the Thread's IsStopped state is wrong, and have a test for that, so
don't keep testing it in other files where that isn't the primary thing we're testing.
I removed the xfail for Darwin. If this also passes on other systems, we can remove
the xfails from them as we find that out.
llvm-svn: 282993
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'push 0x20(%esp)' which clang can generate when emitting
-fomit-frame-pointer code for 32-bit.
Add a unit test program which includes this instruction.
Also fix a bug in the refactoring/rewrite of the x86 assembly
instruction profiler where I'd hard coded it as a 64-bit disassembler
instead of using the ArchSpec to pick a 32-bit or 64-bit disassembler
from llvm. When the disassembler would hit an instruction
that is invalid in 64-bit mode, it would stop disassembling the function.
This likely led to the TestSBData testsuite failure on linux with 32-bit
i386 and gcc-4.9; I'll test that in a bit.
The newly added unit test program is 32-bit i386 code and it includes
an instruction which is invalid in 64-bit mode so it will catch this.
<rdar://problem/28557876>
llvm-svn: 282991
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change addresses the corner case bug in the test
infrastructure where a test file times out *outside*
of any running test method. In those cases, the issue
was charged to the file, not to a test method within
the file. When that file is re-run successfully,
none of the test-method-level successes would clear
the file-level issue.
This change fixes that: for all test files that are
getting rerun (whether by being marked flaky or
via the --rerun-all-issues flag), file-level test
issues are searched for in each of those files. Each
file-level issue found in the rerun file list then
gets cleared.
A test of this feature is added to issue_verification,
using the technique there of moving the *.py.park file
to *.py to do an end-to-end validation.
This change also adds a .gitignore entry for pyenv
project-level files and fixes up a few minor pep8
formatting violations in files I touched.
Fixes:
llvm.org/pr27423
llvm-svn: 282990
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the test for thread stopped states from this test.
That isn't set properly now, and its setting doesn't matter till we actually support non-stop debugging, so
we shouldn't have unrelated tests failing from it.
Also changed some code that was trying and failing to grub command line output, and replaced
it by SB API calls.
llvm-svn: 282976
|
|
|
|
| |
llvm-svn: 282970
|
|
|
|
| |
llvm-svn: 282969
|
|
|
|
| |
llvm-svn: 282966
|
|
|
|
| |
llvm-svn: 282943
|
|
|
|
|
|
| |
Module::LookupInfo::LookupInfo.
llvm-svn: 282941
|
|
|
|
| |
llvm-svn: 282898
|
|
|
|
| |
llvm-svn: 282871
|
|
|
|
| |
llvm-svn: 282869
|
|
|
|
| |
llvm-svn: 282866
|
|
|
|
|
|
|
| |
The breakage was because of the moving of the UTF functions to the llvm
namespace
llvm-svn: 282862
|
|
|
|
|
|
| |
test broken in r282659.
llvm-svn: 282849
|
|
|
|
|
|
|
| |
llvm r282788 changed how the presence of windows DIA SDK is signalled. Adjust to
that.
llvm-svn: 282848
|
|
|
|
| |
llvm-svn: 282830
|
|
|
|
|
|
| |
instruction inspection to UnwindPlans.
llvm-svn: 282825
|
|
|
|
| |
llvm-svn: 282824
|
|
|
|
|
|
| |
call, for that is not true in i386 mode
llvm-svn: 282823
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This lets people link against LLVM and their own version of the UTF
library.
I determined this only affects llvm, clang, lld, and lldb by running
$ git grep -wl 'UTF[0-9]\+\|\bConvertUTF\bisLegalUTF\|getNumBytesFor' | cut -f 1 -d '/' | sort | uniq
clang
lld
lldb
llvm
Tested with
ninja lldb
ninja check-clang check-llvm check-lld
(ninja check-lldb doesn't complete for me with or without this patch.)
Reviewers: rnk
Subscribers: klimek, beanz, mgorny, llvm-commits
Differential Revision: https://reviews.llvm.org/D24996
llvm-svn: 282822
|
|
|
|
| |
llvm-svn: 282811
|
|
|
|
|
|
|
|
| |
doesn't
I can't reproduce locally. Hopefully this will help us catch the reason.
llvm-svn: 282810
|
|
|
|
|
|
|
|
| |
IRExecutionUnit.h includes Module.h, which through a long chain of includes eventually includes Attributes.gen.
This fixes a build issue reported to lldb-dev by Hal. Thanks Hal!
llvm-svn: 282803
|
|
|
|
| |
llvm-svn: 282794
|
|
|
|
|
|
| |
cmake/ninja on linux/bsd systems.
llvm-svn: 282790
|
|
|
|
| |
llvm-svn: 282787
|
|
|
|
|
|
|
|
| |
types from the ObjC runtime
"Fixes" rdar://28501616
llvm-svn: 282774
|
|
|
|
|
|
|
|
| |
the pair object for a single-entry NSDictionary
Fixes rdar://28502335
llvm-svn: 282754
|
|
|
|
| |
llvm-svn: 282741
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a large stack frame with lots of spilled registers.
While writing the i386 version of this test, it looks
like I found a bug in the 32-bit instruction profiler
code. I may ned to fix the assembly inspection engine
before I can finish writing that test, so I'm only
committing the 64-bit one tonight.
<rdar://problem/28509178>
llvm-svn: 282683
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a linux bot test failure. That one is fixed; hopefully there won't
be any others turned up this time.
The eh_frame augmentation code wasn't working right after the
reorg/rewrite of the classes. It works correctly now for the one
test that was failing - but we'll see what the test bots come up
with.
<rdar://problem/28509178>
llvm-svn: 282659
|
|
|
|
|
|
| |
<rdar://problem/28502241>
llvm-svn: 282657
|