- Feb 06, 2013
-
-
Eli Bendersky authored
llvm-svn: 174463
-
Eli Bendersky authored
a setter and fix some comments. llvm-svn: 174462
-
Michael Gottesman authored
Changed CGObjCMac.cpp to add the marker externally_initialized to SELECTOR_REFERENCES in both the fragile and non-fragile API. This is to ensure that GlobalOpt in LLVM does not attempt to look through a selector reference to a method var name at compile time. I also added a test/updated old tests that need to recognize the new keyword. rdar://12580965. llvm-svn: 174461
-
- Feb 05, 2013
-
-
rdar://12568983Bob Wilson authored
If an Apple llvmCore build is done without assertions, and a client uses the llvmCore headers with assertions enabled, or vice versa, then things will break because some of the structure sizes in the API are different. Use the unifdef tool to make the headers unconditionally match the way the llvmCore libraries were built. llvm-svn: 174460
-
Daniel Dunbar authored
llvm-svn: 174459
-
Andrew Trick authored
This reverts commit a33e1fafac7fedb1b080ef07ddf9ad6ddff3a830. This unit test crashes on Darwon. It needs to be temporarily reverted to unblock the test infrastructure. llvm-svn: 174458
-
Bill Wendling authored
The stuff we're handing are all enums (Attribute::AttrKind), integers and strings. Don't convert them to Constants, which is an unnecessary step here. The rest of the changes are mostly mechanical. llvm-svn: 174456
-
Jason Molenda authored
function stub routine addresses from an in-memory-only MachO object file. This was the only remaining part of ParseSymtab() that was assuming a file exists. <rdar://problem/13139585> llvm-svn: 174455
-
Daniel Dunbar authored
llvm-svn: 174454
-
Daniel Dunbar authored
llvm-svn: 174453
-
Daniel Dunbar authored
llvm-svn: 174452
-
Daniel Dunbar authored
llvm-svn: 174451
-
Daniel Dunbar authored
llvm-svn: 174450
-
Ted Kremenek authored
llvm-svn: 174449
-
Douglas Gregor authored
llvm-svn: 174448
-
Ted Kremenek authored
This is a more natural order of evaluation, and it is very important for visualization in the static analyzer. Within Xcode, the arrows will not jump from right to left, which looks very visually jarring. It also provides a more natural location for dataflow-based diagnostics. Along the way, we found a case in the analyzer diagnostics where we needed to indicate that a variable was "captured" by a block. -fsyntax-only timings on sqlite3.c show no visible performance change, although this is just one test case. Fixes <rdar://problem/13016513> llvm-svn: 174447
-
Eli Bendersky authored
pointer in function prologs/epilogs. The opcodes should depend on the data model (LP64 vs. ILP32) rather than the architecture bit-ness. llvm-svn: 174446
-
Manman Ren authored
We generate one line table for each compilation unit in the object file. Reviewed by Eric and Kevin. rdar://problem/13067005 llvm-svn: 174445
-
Daniel Dunbar authored
llvm-svn: 174444
-
Daniel Dunbar authored
- This is so that we can easily write XFAIL markers for tests that are known to fail with versions of libc++ as were shipped with a particular triple. llvm-svn: 174443
-
Akira Hatanaka authored
is a vararg function. The original code was examining flag OutputArg::IsFixed to determine whether CC_MipsN_VarArg or CC_MipsN should be called. This is not correct, since this flag is often set to false when the function being analyzed is a non-variadic function. llvm-svn: 174442
-
Douglas Gregor authored
llvm-svn: 174441
-
Daniel Dunbar authored
- We parse up to the first non-empty non-comment (C++ style) line, otherwise the format and semantics match what is used for LLVM/Clang tests. - For now, the only interesting thing to test against is a user supplied target_triple test parameter. llvm-svn: 174440
-
Michael J. Spencer authored
llvm-svn: 174439
-
Benjamin Kramer authored
llvm-svn: 174438
-
Enrico Granata authored
llvm-svn: 174437
-
Anna Zaks authored
(void*)p. Addresses the false positives similar to the test case. llvm-svn: 174436
-
Anna Zaks authored
llvm-svn: 174435
-
Anna Zaks authored
llvm-svn: 174434
-
Michael Gottesman authored
llvm-svn: 174433
-
Michael Gottesman authored
llvm-svn: 174432
-
Owen Anderson authored
Reapply r174343, with a fix for a scary DAG combine bug where it failed to differentiate between the alignment of the base point of a load, and the overall alignment of the load. This caused infinite loops in DAG combine with the original application of this patch. ORIGINAL COMMIT LOG: When the target-independent DAGCombiner inferred a higher alignment for a load, it would replace the load with one with the higher alignment. However, it did not place the new load in the worklist, which prevented later DAG combines in the same phase (for example, target-specific combines) from ever seeing it. This patch corrects that oversight, and updates some tests whose output changed due to slightly different DAGCombine outputs. llvm-svn: 174431
-
Benjamin Kramer authored
Found by running instcombine on a fabricated test case for the constant folder. llvm-svn: 174430
-
Jyotsna Verma authored
zext( set[ne,eq,gt,ugt] (...) ) type of dag patterns. llvm-svn: 174429
-
Michael J. Spencer authored
llvm-svn: 174428
-
Michael J. Spencer authored
llvm-svn: 174427
-
Michael J. Spencer authored
llvm-svn: 174426
-
Michael J. Spencer authored
llvm-svn: 174425
-
Benjamin Kramer authored
This was introduced in r173293. llvm-svn: 174424
-
Arnold Schwaighofer authored
Introduce a helper class that computes the cost of memory access instructions. No functionality change intended. llvm-svn: 174422
-