| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 146760
|
| |
|
|
| |
llvm-svn: 146759
|
| |
|
|
|
|
|
| |
take them into account.
rdar://10590282
llvm-svn: 146758
|
| |
|
|
|
|
|
| |
take them into account.
rdar://10576962
llvm-svn: 146757
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
we handle Objective-C method calls. Currently,
LLDB treats the result of an Objective-C method
as unknown if the type information doesn't have
the method's signature. Now Clang can cast the
result to id if it isn't explicitly cast.
I also added a test case for this, as well as a
fix for a type import problem that this feature
exposed.
llvm-svn: 146756
|
| |
|
|
|
|
|
| |
behaviour to be an error, so it's useful to be able to make it an error in clang
too.
llvm-svn: 146755
|
| |
|
|
|
|
|
|
| |
Hexatridecimal was added in r139695.
And fix the unittest that now triggers the assert.
llvm-svn: 146754
|
| |
|
|
|
|
|
| |
might not be an rvalue when checking array accesses. Instead, pass through a
flag indicating the array index is negated.
llvm-svn: 146753
|
| |
|
|
|
|
|
|
|
|
| |
FakeStack on the worker threads.
This patch moves the AsanThread initialization into a separate
procedure that's called when AsanThread objects are called for worker
threads.
Patch by glider@google.com
llvm-svn: 146752
|
| |
|
|
|
|
|
|
|
|
|
| |
This adjustment is already included in the block offsets computed by
BasicBlockInfo, and adjusting again here can cause the pass to loop.
When CreateNewWater splits a basic block, OffsetIsInRange would reject
the new CPE on the next pass because of the too conservative alignment
adjustment. This caused the block to be split again, and so on.
llvm-svn: 146751
|
| |
|
|
|
|
| |
Reenable the tests.
llvm-svn: 146750
|
| |
|
|
|
|
|
|
|
|
| |
fails within a call to a constexpr function. Add -fconstexpr-backtrace-limit
argument to driver and frontend, to control the maximum number of notes so
produced (default 10). Fix APValue printing to be able to pretty-print all
APValue types, and move the testing for this functionality from a unittest to
a -verify test now that it's visible in clang's output.
llvm-svn: 146749
|
| |
|
|
| |
llvm-svn: 146748
|
| |
|
|
|
|
|
| |
We should exit when matching the '+' even if nothing was found to
prevent searching for all UNIT_MAX items.
llvm-svn: 146747
|
| |
|
|
|
|
| |
handles.
llvm-svn: 146746
|
| |
|
|
| |
llvm-svn: 146745
|
| |
|
|
| |
llvm-svn: 146744
|
| |
|
|
| |
llvm-svn: 146743
|
| |
|
|
|
|
| |
from the corresponding ObjCInterfaceType
llvm-svn: 146740
|
| |
|
|
|
|
|
|
| |
The command line option should be removed, but not until the feature has
gotten a lot of testing. The ARMConstantIslandPass tends to have subtle
bugs that only show up after a while.
llvm-svn: 146739
|
| |
|
|
|
|
| |
Reviewed by Eli Friedman.
llvm-svn: 146738
|
| |
|
|
|
|
| |
on properties, prevent consequential error diagnostics. // rdar://10591336
llvm-svn: 146737
|
| |
|
|
|
|
| |
const T*)
llvm-svn: 146736
|
| |
|
|
|
|
| |
regressions.
llvm-svn: 146735
|
| |
|
|
|
|
| |
bit of style, sorry.
llvm-svn: 146733
|
| |
|
|
|
|
|
| |
I have no idea why GCC can't cope with the implicit conversion and Clang
can, or whose bug it is. Grr.
llvm-svn: 146732
|
| |
|
|
|
|
|
|
|
|
|
|
| |
variadic-like functions in C++98. See the comments in the header file
for a more detailed description of how these work. We plan to use these
extensively in the AST matching library. This code and idea were
originally authored by Zhanyong Wan. I've condensed it using macros
to reduce repeatition and adjusted it to fit better with LLVM's ADT.
Thanks to both David Blaikie and Doug Gregor for the review!
llvm-svn: 146729
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 146727
|
| |
|
|
|
|
| |
supported. Fix 'unpackh v, v' for 256-bit types to understand 128-bit lanes.
llvm-svn: 146726
|
| |
|
|
| |
llvm-svn: 146725
|
| |
|
|
| |
llvm-svn: 146724
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 146722
|
| |
|
|
|
|
| |
No need for an explicit test case for an unsupported combination of options.
llvm-svn: 146721
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 146718
|
| |
|
|
| |
llvm-svn: 146717
|
| |
|
|
|
|
|
|
| |
*)my_char_ptr as the address to read from.
char *my_char_ptr = (char *)"Does it work?";
llvm-svn: 146716
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 146714
|
| |
|
|
| |
llvm-svn: 146713
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 146710
|
| |
|
|
|
|
| |
and friends, so we compute fixups correctly. PR11586.
llvm-svn: 146709
|
| |
|
|
| |
llvm-svn: 146708
|
| |
|
|
|
|
|
|
| |
don't try to destruct a null ContentCache.
rdar://10567159
llvm-svn: 146707
|
| |
|
|
|
|
|
| |
library names in line with those used by CMake.
- Patch by Johannes Obermayr, with tweaks by me.
llvm-svn: 146706
|
| |
|
|
|
|
| |
definition.
llvm-svn: 146705
|