- Mar 31, 2015
-
-
Eric Fiselier authored
llvm-svn: 233659
-
Duncan P. N. Exon Smith authored
Move over checks of `&` and `&&` flags. llvm-svn: 233658
-
Duncan P. N. Exon Smith authored
Most of these checks were already in the `Verifier` so this is more of a cleanup. Now almost everything is over there. Now that require a `name:` for `MDGlobalVariable`, add a check in `LLParser` for it. llvm-svn: 233657
-
Duncan P. N. Exon Smith authored
Move definition of the debug info flags to the new hierarchy, but leave them duplicated in `DIDescriptor` for now to reduce code churn. My current plan is to remove `DIDescriptor` entirely, so the duplication should go away naturally. llvm-svn: 233656
-
Chaoren Lin authored
llvm-svn: 233655
-
Duncan P. N. Exon Smith authored
Move over some more checks from `DIDescriptor::Verify()`, and change `LLParser` to require non-null `file:` fields in compile units. I've ignored the comment in test/Assembler/metadata-null-operands.ll since I disagree with it. At the time that test was written (r229960), the debug info verifier wasn't on by default, so my comment there is in the context of not expecting the verifier to be useful. It is now, and besides that, since r233394 we can check when parsing textual IR whether an operand is null that shouldn't be. llvm-svn: 233654
-
Quentin Colombet authored
We used to match the register variant before the immediate when the register argument could be implicitly zero-extended. llvm-svn: 233653
-
Vince Harron authored
lldb-platform's listener socket only had a backlog of one connection. That means that if more than one client connected simultaneously, the connection would be refused. The test suite can be run remotely with dozens of threads connecting simultaneously. Raised this limit to 100 to effectively eliminate lost connections. Test Plan: run tests against a remote target Differential Revision: http://reviews.llvm.org/D8696 llvm-svn: 233652
-
Vince Harron authored
lldb-server server process was holding on to a connection to every client that connected. This continued until the process hit it's file limit and exited. lldb-server p --listen *:5432 --server run remote tests against that server more than 1000 times Differential Revision: http://reviews.llvm.org/D8697 llvm-svn: 233651
-
Duncan P. N. Exon Smith authored
Two things here: 1. I read `getScope()` and `getContext()` backwards in r233640. There was no need for `getScopeOfScope()`. Obviously not enough test coverage here (as I said in that commit, I'm going to come back to that), but anyway I'm reverting to the behaviour before r233640. 2. The callers that use `DILexicalBlockFile::getContext()` don't seem to care about the difference. Just have it redirect to `getScope()` so I can't get confused again. llvm-svn: 233650 -
Eric Christopher authored
llvm-svn: 233649
-
Eric Christopher authored
an MCInstPrinter. Update all callers and use where we wanted a Triple previously. llvm-svn: 233648
-
NAKAMURA Takumi authored
examples/ExceptionDemo/CMakeFiles/ExceptionDemo.dir/ExceptionDemo.cpp.o:(.data.rel.ro._ZTIN4llvm18MCJITMemoryManagerE[_ZTIN4llvm18MCJITMemoryManagerE]+0x10): undefined reference to `typeinfo for llvm::RuntimeDyld::MemoryManager' llvm-svn: 233647
-
NAKAMURA Takumi authored
llvm-svn: 233646
-
Chaoren Lin authored
llvm-svn: 233645
-
Duncan P. N. Exon Smith authored
llvm-svn: 233644
-
Duncan P. N. Exon Smith authored
The only user of `DebugLoc::getFromDILexicalBlock()` was creating a new `MDLocation` as convenient API for passing an `MDScope`. Stop doing that, and remove the API. If in the future we actually *want* to create new DebugLocs, calling `MDLexicalBlock::get()` makes more sense. llvm-svn: 233643
-
Fariborz Jahanian authored
to 'super' of instance/class methods and not assert. rdar://20350364 llvm-svn: 233642
-
Marshall Clow authored
Make the new tests better; make sure that we're testing the case where no reallocation has to happen llvm-svn: 233641
-
Duncan P. N. Exon Smith authored
Pervasively use the types provided by the debug info hierarchy rather than `MDNode` in `LexicalScopes`. I noticed (again, I guess, based on comments in the implementation?) that `DILexicalBlockFile::getScope()` returns something different from `DILexicalBlockFile::getContext()`. I created a local helper for getting the same logic from `MDLexicalBlockFile` called `getScopeOfScope()`. I still don't really understand it, but I've added some FIXMEs and I'll come back to it (I suspect the way we encode these objects isn't really ideal). Note that my previous commit r233610 accidentally changed behaviour in `findLexicalScope()` -- it transitioned from a call to `DILexicalBlockFile::getScope()` to `MDLexicalBlockFile::getScope()` (sounds right, doesn't it?) -- so I've fixed that as a drive-by. No tests failed with my error, so it looks like we're missing some coverage here... when I come back to understand the logic, I'll see if I can add some. Other than the fix to `findLexicalScope()`, no functionality change. llvm-svn: 233640
-
David Majnemer authored
No functional change intended. llvm-svn: 233639
-
Kostya Serebryany authored
Summary: Move lib/Fuzzer docs from a README.txt to a proper .rst file. This change does not add any content, just formatting. Test Plan: n/a Reviewers: samsonov Reviewed By: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8710 llvm-svn: 233638
-
Kostya Serebryany authored
llvm-svn: 233637
-
David Majnemer authored
Generate tables in the .xdata section representing what actions to take when an exception is thrown. This currently fills in state for cleanups, catch handlers are still unfinished. llvm-svn: 233636
-
Juergen Ributzka authored
When we expand the RET_ReallyLR pseudo instruction we also need to transfer the implicit operands. The return register is an implicit operand and without it the liveness calculation generates an incorrect live-out set for the patchpoint. This fixes rdar://problem/19068476. llvm-svn: 233635
-
Kostya Serebryany authored
llvm-svn: 233624
-
Alexei Starovoitov authored
BPF has cpu_to_be and cpu_to_le instructions. For now assume little endian and generate cpu_to_be for ISD::BSWAP. llvm-svn: 233620
-
Alexei Starovoitov authored
fix build broken due to r233599. Would still need to switch to MDLocation long term. llvm-svn: 233619
-
Simon Atanasyan authored
No functional changes. llvm-svn: 233618
-
Simon Atanasyan authored
Type of `OutputSection::_type` field is int64_t. This change makes the field's and the argument's types consistent and allows to assign full range of values to the `OutputSection::_type` field. llvm-svn: 233617
-
Simon Atanasyan authored
No functional changes. llvm-svn: 233616
-
Eric Christopher authored
llvm-svn: 233615
-
Eric Christopher authored
llvm-svn: 233614
-
Kostya Serebryany authored
Summary: This adds a simple DFSan-based (i.e. taint-guided) fuzzer mutator, see the comments for details. Test Plan: a test added Reviewers: samsonov, pcc Reviewed By: samsonov, pcc Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8669 llvm-svn: 233613
-
Eric Christopher authored
llvm-svn: 233612
-
Eric Christopher authored
llvm-svn: 233611
-
Duncan P. N. Exon Smith authored
There's no benefit to using `DebugLoc` here. Moreover, this will let a follow-up commit work with `MDScope` directly instead of `DebugLoc`. llvm-svn: 233610
-
Eric Christopher authored
llvm-svn: 233609
-
Eric Christopher authored
llvm-svn: 233608
-
Eric Christopher authored
llvm-svn: 233607
-