- Apr 12, 2013
-
-
Enrico Granata authored
When specifying a relative path for the --framework option to dotest.py, Python would end up being confused and unable to locate the embedded_interpreter module, causing every testcase that uses the Script Interpreter (e.g. functionalities/data-formatter/data-formatter-stl/libstdcpp) to fail without even trying This checkin fixes that problem by absolutizing the path before pushing it to the sys.path llvm-svn: 179341
-
Chad Rosier authored
llvm-svn: 179340
-
Chad Rosier authored
namespace alias qualifiers. Test case coming on clang side shortly. Part of rdar://13499009 llvm-svn: 179339
-
John McCall authored
llvm-svn: 179338
-
Manman Ren authored
Added PathAliases to check if two struct-path tags can alias. Added command line option -struct-path-tbaa. llvm-svn: 179337
-
Chad Rosier authored
can build up the identifier string. No test case as support for looking up these type of identifiers hasn't been implemented on the clang side. Part of rdar://13499009 llvm-svn: 179336
-
Manman Ren authored
For struct-path aware TBAA, we used to use scalar type node as the scalar tag, which has an incompatible format with the struct path tag. We now use the same format: base type, access type and offset. We also uniformize the scalar type node and the struct type node: name, a list of pairs (offset + pointer to MDNode). For scalar type, we have a single pair. These are to make implementaiton of aliasing rules easier. llvm-svn: 179335
-
John McCall authored
Patch by John Marino. llvm-svn: 179334
-
rdar://problem/13558484Enrico Granata authored
This makes the dynamic values test case work for both libc++ and libstdcpp llvm-svn: 179333
-
Jim Ingham authored
Save away the locations at the site we hit and iterate over that collection. Otherwise the action of one location could delete the other locations, and that would leave us iterating over a reduced size collection and crash. <rdar://problem/13592544> llvm-svn: 179332
-
Manman Ren authored
llvm-svn: 179331
-
rdar://problem/13623698Enrico Granata authored
This patch fixes the issue that we were using the C stack as a measure of depth of ValueObject hierarchies, in the sense that we were assuming that recursive ValueObject operations would never be deeper than the stack allows. This assumption is easy to prove wrong, however. For instance, after ~10k runs through this loop: struct node { int value; node* child; node (int x) { value = x; child = nullptr; } }; int main () { node root(1); node* ptr = &root; int j = 2; while (1) { ptr->child = new node(j++); ptr = ptr->child; } return 0; } the deepmost child object will be deeper than the stack on most architectures, and we would be unable to display it This checkin fixes the issue by introducing a notion of root of ValueObject hierarchies. In a couple cases, we have to use an iterative algorithm instead of going to the root because we want to allow deeper customizations (e.g. formats, dynamic values). While the patch passes our test suite without regressions, it is a good idea to keep eyes open for any unexpected behavior (recursion can be subtle..) Also, I am hesitant to introduce a test case since failing at this will not just be marked as an "F", but most definitely crash LLDB. llvm-svn: 179330
-
rdar://problem/13370286Greg Clayton authored
Fixed a case there the OperatingSystemPython would try to access and play with SBValue objects when the process' public run lock was taken. Prior to this fix, all attempts to run any SBValue functions would fail if run from the private state thread (like updating the thread list). Now we have two run locks, one for public (all threads except the private state thread) and one for private. llvm-svn: 179329
-
Greg Clayton authored
llvm-svn: 179328
-
Greg Clayton authored
Fixed SBValueList to have a __str__ function like all other SB classes. Previously this was done as __repr__. llvm-svn: 179327
-
Greg Clayton authored
llvm-svn: 179326
-
Chad Rosier authored
commit. Part of rdar://13453209 llvm-svn: 179325
-
- Apr 11, 2013
-
-
Chad Rosier authored
llvm-svn: 179324
-
Chad Rosier authored
specific logic. This makes the code much less fragile. Test case coming on the clang side in a moment. rdar://13634327 llvm-svn: 179323
-
Preston Gurd authored
llvm-svn: 179322
-
Sean Callanan authored
to the Materializer. Materialization is still done by the ClangExpressionDeclMap; this will be the next thing to move. Also fixed a layout bug that this uncovered. llvm-svn: 179318
-
David Majnemer authored
A64Imms::isLogicalImmBits and A64Imms::isLogicalImm will attempt to execute shifts that perform undefined behavior. Instead of attempting to perform the 64-bit rotation, treat it as a no-op. llvm-svn: 179317
-
David Majnemer authored
Allows LLVM to optimize sequences like the following: %add = add nsw i32 %x, 1 %cmp = icmp sgt i32 %add, %y into: %cmp = icmp sge i32 %x, %y as well as: %add1 = add nsw i32 %x, 20 %add2 = add nsw i32 %y, 57 %cmp = icmp sge i32 %add1, %add2 into: %add = add nsw i32 %y, 37 %cmp = icmp sle i32 %cmp, %x llvm-svn: 179316
-
Jack Carter authored
These changes are based on commit responses for r179135. llvm-svn: 179315
-
Akira Hatanaka authored
multiply instructions in MipsSEDAGToDAGISel. This patch was supposed to be part of r178403. llvm-svn: 179314
-
Akira Hatanaka authored
- Rename function. - Pass iterator by value. - Remove header include. No functionality changes. llvm-svn: 179312
-
Reid Kleckner authored
llvm-svn: 179311
-
Jyotsna Verma authored
is unavailable for Hexagon. llvm-svn: 179310
-
Bob Wilson authored
This new option is the default, but it is useful to have a flag to override -mno-implicit-float by putting -mimplicit-float later on the command line. llvm-svn: 179309
-
Reid Kleckner authored
This is a better way of ensuring that we match the output of the rewriter and not the CHECK line. llvm-svn: 179308
-
Kostya Serebryany authored
llvm-svn: 179307
-
Kostya Serebryany authored
llvm-svn: 179306
-
Reid Kleckner authored
Summary: Handles all inheritance models for both data and function member pointers. Also implements isZeroInitializable() and refactors some of the null member pointer code. MSVC supports converting member pointers through virtual bases, which clang does not (yet?) support. Implementing that extension is covered by http://llvm.org/15713 Reviewers: rjmccall CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D613 llvm-svn: 179305
-
Sean Callanan authored
parser. <rdar://problem/13631469> llvm-svn: 179304
-
Rafael Espindola authored
llvm-svn: 179303
-
Argyrios Kyrtzidis authored
llvm-svn: 179301
-
Argyrios Kyrtzidis authored
llvm-svn: 179300
-
Jyotsna Verma authored
llvm-svn: 179299
-
Rafael Espindola authored
llvm-svn: 179298
-
Argyrios Kyrtzidis authored
[libclang] Have clang_getCXXAccessSpecifier() also return the access control of a C++ declaration within its parent scope. Suggested by Stefan Seefeld. llvm-svn: 179297
-