- Mar 30, 2013
-
-
-
rdar://problem/13131838Greg Clayton authored
Platform select documents a -S option but doesn't accept it, now it does. llvm-svn: 178384
-
Adrian Prantl authored
llvm-svn: 178383
-
- Mar 29, 2013
-
-
Michael Gottesman authored
Updated test0 of retain-not-declared.ll to reflect the fact that objc-arc-expand runs before objc-arc/objc-arc-contract. Specifically, objc-arc-expand will make sure that the objc_retainAutoreleasedReturnValue, objc_autoreleaseReturnValue, and ret will all have %call as an argument. llvm-svn: 178382
-
Anna Zaks authored
We can check if the receiver is nil in the node that corresponds to the StmtPoint of the message send. At that point, the receiver is guaranteed to be live. We will find at least one unreclaimed node due to my previous commit (look for StmtPoint instead of PostStmt) and the fact that the nil receiver nodes are tagged. + a couple of extra tests. llvm-svn: 178381
-
Anna Zaks authored
trackNullOrUndefValue tries to find the first node that matches the statement it is tracking. Since we collect PostStmt nodes (in node reclamation), none of those might be on the current path, so relax the search to look for any StmtPoint. llvm-svn: 178380
-
Argyrios Kyrtzidis authored
llvm-svn: 178378
-
Jean-Luc Duprat authored
This time tested on both OSX and Linux. llvm-svn: 178377
-
Sean Silva authored
std::lower_bound is the canonical "binary search" in the STL (std::binary_search generally is not what you want). The name actually makes a lot of sense (and also has a beautiful symmetry with the std::upper_bound algorithm). The name is nonetheless non-obvious. Also, remove mention of "radix search". It's not even clear how that would work in the context of a sorted vector. AFAIK "radix search" only makes sense when you have a trie-like data structure. llvm-svn: 178376
-
Timur Iskhodzhanov authored
llvm-svn: 178375
-
Argyrios Kyrtzidis authored
When using modules we should not ignore overridden methods from categories that are hidden because the module is not visible. This will give more consistent results (when imports change) and it's more correct since the methods are indeed overridden even if they are not "visible" for lookup purposes. rdar://13350796 llvm-svn: 178374
-
Argyrios Kyrtzidis authored
[libclang] If libclang logging is enabled, print all compiler diagnostics to stderr instead of capturing them. llvm-svn: 178373
-
Argyrios Kyrtzidis authored
for the IDE case, also create a symlink inside the libclang.dylib directory. llvm-svn: 178372
-
Benjamin Kramer authored
The array will decay into a pointer, creating an unexpected result. sizeof(array + int) is an easy to make typo for sizeof(array) + int. This was motivated by a NetBSD security bug, used sizeof(key - r) instead of sizeof(key) - r, reducing entropy in a random number generator. http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/subr_cprng.c.diff?r1=1.14&r2=1.15&only_with_tag=MAIN&f=h Differential Revision: http://llvm-reviews.chandlerc.com/D571 llvm-svn: 178371
-
Howard Hinnant authored
llvm-svn: 178370
-
Michael Gottesman authored
clang.arc.used is an interesting call for ARC since ObjCARCContract needs to run to remove said intrinsic to avoid a linker error (since the call does not exist). llvm-svn: 178369
-
Jyotsna Verma authored
llvm-svn: 178368
-
Jim Ingham authored
rdar://problem/13536544 llvm-svn: 178367
-
Eric Christopher authored
die values. A lot of DIEs have 10 attributes in C++ code (example clang), none had more than 12. Seems like a good default. llvm-svn: 178366
-
Eric Christopher authored
entire original compile unit has been constructed. llvm-svn: 178365
-
Adrian Prantl authored
llvm-svn: 178364
-
Sean Callanan authored
wasn't loaded into the underlying process or couldn't be found. <rdar://problem/13533671> llvm-svn: 178363
-
Hal Finkel authored
Like nearbyint, rint can be implemented on PPC using the frin instruction. The complication comes from the fact that rint needs to set the FE_INEXACT flag when the result does not equal the input value (and frin does not do that). As a result, we use a custom inserter which, after the rounding, compares the rounded value with the original, and if they differ, explicitly sets the XX bit in the FPSCR register (which corresponds to FE_INEXACT). Once LLVM has better modeling of the floating-point environment we should be able to (often) eliminate this extra complexity. llvm-svn: 178362
-
Adrian Prantl authored
* Store the .block_descriptor (instead of self) in the alloca so we can guarantee that all captured variables are available at -O0. * Add the missing OpDeref for the alloca. rdar://problem/12767564 llvm-svn: 178361
-
Adrian Prantl authored
* Let DIType for block-captured self to point to the completed cached interface type. rdar://problem/12767564 llvm-svn: 178360
-
Akira Hatanaka authored
llvm-svn: 178359
-
Jyotsna Verma authored
llvm-svn: 178358
-
Andrew Trick authored
A9 uses itinerary classes, Swift uses RW lists. This tripped some verification when we're expanding variants. I had to refine the verification a bit. llvm-svn: 178357
-
Matt Arsenault authored
llvm-svn: 178356
-
Matt Arsenault authored
llvm-svn: 178355
-
-
Adrian Prantl authored
rdar://problem/12767564 llvm-svn: 178353
-
Greg Clayton authored
llvm-svn: 178352
-
Benjamin Kramer authored
llvm-svn: 178351
-
Howard Hinnant authored
The 3rd test in shrink_to_fit.pass.cpp can't possibly pass if exceptions are disabled, so #ifdef'ing out the test. llvm-svn: 178350
-
Benjamin Kramer authored
It was superseded by MachineBlockPlacement and disabled by default since LLVM 3.1. llvm-svn: 178349
-
rdar://problem/12022060Greg Clayton authored
Enable tab completion for regular expression commands. llvm-svn: 178348
-
Nadav Rotem authored
llvm-svn: 178346
-
Jyotsna Verma authored
llvm-svn: 178345
-
Kostya Serebryany authored
[tsan] restore performance critical inlining in tsan: remove static from ALWAYS_INLINE, use ALWAYS_INLINE USED for critical functions. llvm-svn: 178341
-