- Sep 12, 2014
-
-
Joerg Sonnenberger authored
llvm-svn: 217659
-
Joerg Sonnenberger authored
Douglas Gregor and Ted Kremenek. llvm-svn: 217658
-
Justin Bogner authored
llvm-svn: 217657
-
Craig Topper authored
llvm-svn: 217656
-
Craig Topper authored
llvm-svn: 217655
-
David Majnemer authored
Deleted virtual functions get _purecall inserted into the vftable. Earlier CTPs would simply stick nullptr in there. N.B. MSVC can't handle deleted virtual functions which require return adjusting thunks, they give an error that a deleted function couldn't be called inside of a compiler generated function. We get this correct by making the thunk have a __purecall entry as well. llvm-svn: 217654
-
Jason Molenda authored
TypeValidatorImpl, FileAction, and ProcessLaunchInfo to match the lldb coding convention. llvm-svn: 217653
-
Alexey Samsonov authored
llvm-svn: 217652
-
Enrico Granata authored
Recent builds of libcxx actually wrap an std::map's children values in a union containing either a member named __cc, or either of __cc and __nc (const vs. non-const). This level of wrapping is quite useless for LLDB to show to people, so try to detect it, and filter it out llvm-svn: 217651
-
Nick Kledzik authored
This matches the strtoull() behavior in ld64. llvm-svn: 217650
-
Jason Molenda authored
ProcessStructReader instead of reading the structure out of libdispatch by hand. I will convert more of the struct readers in SystemRuntimeMacOSX over to use this class eventually. llvm-svn: 217649
-
David Majnemer authored
NFC. llvm-svn: 217648
-
Todd Fiala authored
* Sends a SIGSTOP to the process. * Fixes busted SIGSTOP handling. Now builds a list of non-stopped that we wait for the PTRACE group-stop for. When the final must-stop tid gets its group stop, we propagate the process state change. Only the signal receiving the notification of the pending SIGSTOP is marked with the SIGSTOP signal. All the rest, if they weren't already stopped, are marked as stopped with signal 0. * Fixes a few broken tests. * Marks the Linux test I added earlier as expect-pass (no longer XFAIL). Implements fix for http://llvm.org/bugs/show_bug.cgi?id=20908. llvm-svn: 217647
-
Justin Bogner authored
This fixes a call to sys::fs::equivalent that should've been to CodeCoverageTool::equivalentFiles, which lets us restore the test of r217476 that was removed in r217478. This reverts r217478, but the test works this time. llvm-svn: 217646
-
Rui Ueyama authored
llvm-svn: 217645
-
Enrico Granata authored
The purpose of a ProcessStructReader is to allow intelligent reading of data from the underlying process Traditionally, the way this has been handled is to have a load_address and shuffle it around, and use Process::ReadMemory()-kind APIs With a ProcessStructReader one can define a clang type that matches exactly the definition of the thing they are trying to ingest from the inferior process, and then just point LLDB at where the data is Since this work is done in terms of clang types, one can honor packed/aligned attributes, sizes of types on the inferior architecture, and similar tricky caveats without having to hardcode them llvm-svn: 217644
-
Lang Hames authored
A "stub found found" diagnostic is emitted when RuntimeDyldChecker's stub lookup logic fails to find the requested stub. The obvious reason for the failure is that no such stub has been created, but it can also fail for internal symbols if the symbol offset is not computed correctly (E.g. due to a mangled relocation addend). This patch adds a comment about the latter case so that it's not overlooked. Inspired by confusion experienced during test case construction for r217635. llvm-svn: 217643
-
David Majnemer authored
We assumed that the incoming this argument would be the last argument. However, this is not true under the MS ABI. This fixes PR20897. llvm-svn: 217642
-
Enrico Granata authored
When deciding if one-liner printing applies, and you find a summary, the summary is a good candidate to ask. While in theory one could want one-liner printing with a non-one-liner summary, I don't see LLDB as the best place to solve such inner conflicts llvm-svn: 217641
-
Rui Ueyama authored
llvm-svn: 217639
-
Rui Ueyama authored
This patch is to overload operator+= and operator-= for {u}{little}{big}{16,32,64}_t. llvm-svn: 217637
-
Matt Arsenault authored
The register numbers start at 0, so if only 1 register was used, this was reported as 0. llvm-svn: 217636
-
Lang Hames authored
symbols. Previously we have only been testing these relocations with external symbols. <rdar://problem/18308413> llvm-svn: 217635
-
Zachary Turner authored
llvm-svn: 217634
-
Rui Ueyama authored
Use llvm::COFF::BigObjMagic insetad of the string literal. Also checks the version number. llvm-svn: 217633
-
Zachary Turner authored
llvm-svn: 217632
-
- Sep 11, 2014
-
-
Rui Ueyama authored
The byte has no endianness, so these types don't make sense. uint8_t should be used instead. llvm-svn: 217631
-
Juergen Ributzka authored
llvm-svn: 217630
-
Quentin Colombet authored
I.e., teach it about 'sext (zext a to ty) to ty2' => zext a to ty2. llvm-svn: 217629
-
David Blaikie authored
And since it /looked/ like the DwarfStrSectionSym was unused, I tried removing it - but then it turned out that DwarfStringPool was reconstructing the same label (and expecting it to have already been emitted) and uses that. So I kept it around, but wanted to pass it in to users - since it seemed a bit silly for DwarfStringPool to have it passed in and returned but itself have no use for it. The only two users don't handle strings in both .dwo and .o files so they only ever need the one symbol - no need to keep it (and have an unused symbol) in the DwarfStringPool used for fission/.dwo. Refactor a bunch of accelerator table usage to remove duplication so I didn't have to touch 4-5 callers. llvm-svn: 217628
-
Rui Ueyama authored
identify_magic recognized a COFF bigobj as an import library file. This patch fixes that. llvm-svn: 217627
-
Rui Ueyama authored
Also make it private as it doesn't have to be protected function. llvm-svn: 217626
-
Rafael Espindola authored
The main difference is the removal of std::error_code exists(const Twine &path, bool &result); It was an horribly redundant interface since a file not existing is also a valid error_code. Now we have an access function that returns just an error_code. This is the only function that has to be implemented for Unix and Windows. The functions can_write, exists and can_execute an now just wrappers. One still has to be very careful using these function to avoid introducing race conditions (Time of check to time of use). llvm-svn: 217625
-
Zachary Turner authored
* ssize_t isn't defined by default on Windows. * New public API files need to be defined in a different file for Windows. llvm-svn: 217624
-
Bill Schmidt authored
llvm-svn: 217623
-
Bill Schmidt authored
Inline asm may specify 'U' and 'X' constraints to print a 'u' for an update-form memory reference, or an 'x' for an indexed-form memory reference. However, these are really only useful in GCC internal code generation. In inline asm the operand of the memory constraint is typically just a register containing the address, so 'U' and 'X' make no sense. This patch quietly accepts 'U' and 'X' in inline asm patterns, but otherwise does nothing. If we ever unexpectedly see a non-register, we'll assert and sort it out afterwards. I've added a new test for these constraints; the test case should be used for other asm-constraints changes down the road. llvm-svn: 217622
-
Justin Bogner authored
r217556 introduced an operator<<(std::ostream &, StringRef) that seems to self recurse on some systems, because str.data(), which is a char *, was being implicitly converted back to StringRef in overload resolution. This manifested as SemaCXX/warn-thread-safety-analysis.cpp timing out in release builds and overflowing the stack in debug builds. One of the failing systems that saw this is here: http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/4636 Using ostream's write method instead of operator<< should get the bots going again. llvm-svn: 217621
-
Lang Hames authored
Fixes <rdar://problem/18297804>. llvm-svn: 217620
-
Fariborz Jahanian authored
off by default, issue a warning if %s directive is used in formart argument of a function/method declared as __attribute__((format(CF/NSString, ...))) To complete rdar://18182443 llvm-svn: 217619
-
Rafael Espindola authored
llvm-svn: 217618
-