- Dec 04, 2012
-
-
Jyotsna Verma authored
using multiclass. llvm-svn: 169314
-
Tobias Grosser authored
Apperently the git tag causes trouble in some scripts. llvm-svn: 169313
-
Bill Wendling authored
The count attribute is more accurate with regards to the size of an array. It also obviates the upper bound attribute in the subrange. We can also better handle an unbound array by setting the count to -1 instead of the lower bound to 1 and upper bound to 0. llvm-svn: 169312
-
Bill Wendling authored
The count attribute is more accurate with regards to the size of an array. It also obviates the upper bound attribute in the subrange. We can also better handle an unbound array by setting the count to -1 instead of the lower bound to 1 and upper bound to 0. llvm-svn: 169311
-
Matt Beaumont-Gay authored
the link command. This all works fine when the driver is also responsible for adding -lstdc++ to the link command. But, if -lstdc++ (or libstdc++.a, etc) is passed explicitly to the driver, the ASan runtime will appear in the link command after the standard library, leading to multiple-definition errors for the global 'operator new' and 'operator delete'. Fix this in a painfully simple way, by inserting libclang_rt.asan.a at the start of the link command instead of the end. If we need to do something more clever, we can walk the link command looking for something that resembles libstdc++ and insert libclang_rt.asan.a as late as possible, but the simple solution works for now. llvm-svn: 169310
-
Sean Silva authored
llvm-svn: 169309
-
Sean Silva authored
llvm-svn: 169308
-
Fariborz Jahanian authored
<declaration> tag of Comment XML and fixed a missing block literal printout as result of the testing. // rdar://12378714 llvm-svn: 169307
-
Benjamin Kramer authored
llvm-svn: 169306
-
David Blaikie authored
This reapplies the fix for PR13303 now with more justification. Based on my execution of the GDB 7.5 test suite this results in: expected passes: 16101 -> 20890 (+30%) unexpected failures: 4826 -> 637 (-77%) There are 23 checks that used to pass and now fail. They are all in gdb.reverse. Investigating a few looks like they were accidentally passing due to extra breakpoints being set by this bug. They're generally due to the difference in end location between gcc and clang, the test suite is trying to set breakpoints on the closing '}' that clang doesn't associate with any instructions. llvm-svn: 169304
-
Daniel Jasper authored
llvm-svn: 169303
-
Sean Callanan authored
type of an Objective-C selector, don't bother making the expression parser resolve it all over again. Just send the message straight to the object pointer as if it were an id, and cast the result. <rdar://problem/12799087> llvm-svn: 169300
-
Sean Callanan authored
them while making our initial run through the Objective-C runtime's class tables. <rdar://problem/12799087> llvm-svn: 169299
-
Daniel Malea authored
llvm-svn: 169295
-
Eli Bendersky authored
llvm-svn: 169293
-
Eli Bendersky authored
in the triple. llvm-svn: 169292
-
Eli Bendersky authored
textually as NativeClient. Also added a link to the native client project for readers unfamiliar with it. A Clang patch will follow shortly. llvm-svn: 169291
-
Fariborz Jahanian authored
// rdar://12378714 llvm-svn: 169289
-
Nadav Rotem authored
llvm-svn: 169288
-
Jyotsna Verma authored
instructions. llvm-svn: 169287
-
Alexander Kornienko authored
Summary: Adds recovery for structural errors in clang-format. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, silvas Differential Revision: http://llvm-reviews.chandlerc.com/D164 llvm-svn: 169286
-
Fariborz Jahanian authored
after the fixed size block header when generating captured block variable info. // rdar://12773256 llvm-svn: 169285
-
Jyotsna Verma authored
llvm-svn: 169284
-
Eli Bendersky authored
include .ll files. Fix that. llvm-svn: 169283
-
Duncan Sands authored
llvm-svn: 169282
-
Bill Schmidt authored
on 64-bit PowerPC ELF. The patch includes code to handle external assembly and MC output with the integrated assembler. It intentionally does not support the "old" JIT. For the initial-exec TLS model, the ABI requires the following to calculate the address of external thread-local variable x: Code sequence Relocation Symbol ld 9,x@got@tprel(2) R_PPC64_GOT_TPREL16_DS x add 9,9,x@tls R_PPC64_TLS x The register 9 is arbitrary here. The linker will replace x@got@tprel with the offset relative to the thread pointer to the generated GOT entry for symbol x. It will replace x@tls with the thread-pointer register (13). The two test cases verify correct assembly output and relocation output as just described. PowerPC-specific selection node variants are added for the two instructions above: LD_GOT_TPREL and ADD_TLS. These are inserted when an initial-exec global variable is encountered by PPCTargetLowering::LowerGlobalTLSAddress(), and later lowered to machine instructions LDgotTPREL and ADD8TLS. LDgotTPREL is a pseudo that uses the same LDrs support added for medium code model's LDtocL, with a different relocation type. The rest of the processing is straightforward. llvm-svn: 169281
-
Justin Holewinski authored
llvm-svn: 169280
-
Dmitry Vyukov authored
llvm-svn: 169279
-
Alexander Kornienko authored
Reviewers: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D163 llvm-svn: 169278
-
NAKAMURA Takumi authored
llvm-svn: 169277
-
Dmitri Gribenko authored
Patch by Jyun-Yan You. llvm-svn: 169276
-
Kostya Serebryany authored
llvm-svn: 169275
-
Daniel Jasper authored
Review: http://llvm-reviews.chandlerc.com/D162 llvm-svn: 169274
-
Dmitry Vyukov authored
llvm-svn: 169273
-
Alexander Kornienko authored
Reviewers: djasper, klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D161 llvm-svn: 169272
-
Manuel Klimek authored
llvm-svn: 169271
-
Kostya Serebryany authored
llvm-svn: 169270
-
Eli Bendersky authored
of grep in favor of FileCheck, and other cleanups. llvm-svn: 169269
-
NAKAMURA Takumi authored
ToolChains.cpp: Fixup r169260, clang/Config/config.h needs to be listed *last*, or llvm/Config/llvm-config.h could not be read in header files. llvm-svn: 169268
-
Kostya Serebryany authored
llvm-svn: 169267
-