- Dec 16, 2011
-
-
Chris Lattner authored
autorenamed version of the other. This makes the IR easier to read, because we don't end up with random renamed versions of the types after LTO'ing a large app. llvm-svn: 146728
-
Tobias Grosser authored
llvm-svn: 146727
-
Craig Topper authored
Don't try to match 'unpackl/h v, v' for 32xi8 and 16xi16 when only AVX1 is supported. Fix 'unpackh v, v' for 256-bit types to understand 128-bit lanes. llvm-svn: 146726
-
NAKAMURA Takumi authored
llvm-svn: 146725
-
NAKAMURA Takumi authored
llvm-svn: 146724
-
Jason Molenda authored
1 -- an address pointing off into non-executable memory -- don't abort the unwind. We'll use the ABI's default UnwindPlan to try to get out of frame 1 and on many platforms with a standard frame chain stack layout we can get back on track and get a valid frame 2. This preserves the lldb behavior to-date; the change last week to require the memory region to be executable broke it. I'd like to mark this frame specially when displayed to the user; I tried to override the places where the frame's pc value is returned to change it to a sentinel value (e.g. LLDB_INVALID_ADDRESS) but couldn't get that to work cleanly so I backed that part out for now. When this happens we'll often miss one of the user's actual frames, the one that's of most interest to the user, so I'd like to make this visually distinctive. Note that a frame in non-executable memory region is only allowed for frame 1. After that we should be solid on the unwind and any pc address in non-executable memory indicates a failure and we should stop unwinding. llvm-svn: 146723
-
Douglas Gregor authored
llvm-svn: 146722
-
Andrew Trick authored
No need for an explicit test case for an unsupported combination of options. llvm-svn: 146721
-
Johnny Chen authored
Simplify the setup leading to the testing of ReadMemory(), ReadCStringFromMemory(), and ReadUnsignedFromMemory(). Instead of getting the location of the variable and converting the hex string to an int, just use val.AddressOf().GetValueAsUnsigned() to compute the address of the memory region to read from. llvm-svn: 146719
-
Kostya Serebryany authored
llvm-svn: 146718
-
Jim Ingham authored
llvm-svn: 146717
-
Johnny Chen authored
Add a test sequence of SBProcess.ReadCStringFromMemory() with (char *)my_char_ptr as the address to read from. char *my_char_ptr = (char *)"Does it work?"; llvm-svn: 146716
-
Sean Callanan authored
instantiate a class from its template pattern before it consults the ExternalASTSource. LLDB in particular will sometimes provide patterns that need to be completed first. To make this possible, I have moved the completion before the code that does the instantiation, allowing the ExternalASTSource to provide the required information. llvm-svn: 146715
-
Jim Grosbach authored
llvm-svn: 146714
-
Jakob Stoklund Olesen authored
llvm-svn: 146713
-
Jim Ingham authored
Fix a bug where when debugging with .o files, we end up with two symbols for each real OBJC_CLASS_$_whatever, one of which is correctly classified as an ObjCClass symbol, and the other is just a data symbol. This was messing up the ObjC dynamic type detection. <rdar://problem/10589527> llvm-svn: 146712
-
Daniel Dunbar authored
properly initializing the target infos. I decided it wasn't worth linking them in for this, so just switched back to using the Makefile variable for now. We can reconsider later if we ever get pluggable targets. llvm-svn: 146711
-
Jim Grosbach authored
llvm-svn: 146710
-
Eli Friedman authored
Make sure we correctly note the existence of an i8 immediate for vblendvps and friends, so we compute fixups correctly. PR11586. llvm-svn: 146709
-
Daniel Dunbar authored
llvm-svn: 146708
-
Argyrios Kyrtzidis authored
don't try to destruct a null ContentCache. rdar://10567159 llvm-svn: 146707
-
Daniel Dunbar authored
library names in line with those used by CMake. - Patch by Johannes Obermayr, with tweaks by me. llvm-svn: 146706
-
Douglas Gregor authored
llvm-svn: 146705
-
Johnny Chen authored
Add test scenario for newly added SBProcess APIs: ReadCStringFromMemory() and ReadUnsignedFromMemory(). llvm-svn: 146704
-
Kostya Serebryany authored
[asan] revert r146529: we do need to build asan-rt as a shared library. Will need to find a different way to modify preinit_array llvm-svn: 146703
-
- Dec 15, 2011
-
-
Nick Lewycky authored
llvm-svn: 146702
-
Kostya Serebryany authored
[asan] added a test to check that a global-buffer-overflow mentioned the module name; revert incorrect change in the test runner llvm-svn: 146701
-
Eli Friedman authored
Make check a bit more strict so we don't call ARM_AM::getFP32Imm with a value that isn't a 32-bit value. (This is just to be safe; I don't think this actually causes any issues in practice.) llvm-svn: 146700
-
Jim Grosbach authored
llvm-svn: 146699
-
Kostya Serebryany authored
[asan] add the name of the module to the description of a global variable. This improves the readability of global-buffer-overflow reports. llvm-svn: 146698
-
Johnny Chen authored
llvm-svn: 146696
-
Johnny Chen authored
Add fuzz calls for newly added SBProcess methods. Fix a typo in the audodoc of SBProcess.ReadCStringFromMemory(). llvm-svn: 146695
-
Douglas Gregor authored
applies to an actual definition. Plus, clarify the purpose of this field and give the accessor a different name, since getLocEnd() is supposed to be the same as getSourceRange().getEnd(). llvm-svn: 146694
-
Tony Linthicum authored
llvm-svn: 146692
-
Jim Grosbach authored
llvm-svn: 146691
-
Jakob Stoklund Olesen authored
The code size increase is tiny (< 0.05%) because so little code uses 16-byte constant pool entries. llvm-svn: 146690
-
Chad Rosier authored
Patch by Elena Demikhovsky <elena.demikhovsky@intel.com>! llvm-svn: 146689
-
Kostya Serebryany authored
[asan] fix a bug (issue 19) where dlclose and the following mmap caused a false positive. compiler part. llvm-svn: 146688
-
Kostya Serebryany authored
[asan] fix a bug (issue 19) where dlclose and the following mmap caused a false positive. run-time part. llvm-svn: 146687
-
Jim Grosbach authored
llvm-svn: 146686
-