summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use 'git svn find-rev' in git-svnrevert instead of shell script fu.Michael Gottesman2013-04-261-4/+3
| | | | | | Thanks Chandler! llvm-svn: 180592
* Add r180263 back, but fix hasBraces() to be correct during parsing.Rafael Espindola2013-04-265-16/+40
| | | | | | | | Original commit message: Fix a case in linkage computation that should check for single line extern "C". llvm-svn: 180591
* Revert "[objc-arc] Added ImpreciseAutoreleaseSet to track autorelease calls ↵Michael Gottesman2013-04-261-38/+0
| | | | | | | | | | | | | | that were once autoreleaseRV instructions." This reverts commit r180222. I think this might tie in with a different problem which will require a different approach potentially. I am reverting this in the case I need to go down that second path. My apologies for the noise. = /. llvm-svn: 180590
* Updated GettingStarted.rst so that it references utils/git-svn for git-svnup ↵Michael Gottesman2013-04-261-26/+11
| | | | | | instead of catting it into the documentation itself. llvm-svn: 180589
* Make a synthetic children provider for the ObjC Class typeEnrico Granata2013-04-263-0/+57
| | | | llvm-svn: 180588
* Added the scripts git-svnup/git-svnrevert to utils/git-svn.Michael Gottesman2013-04-262-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | It makes more sense to have git-svnup here than catting said file in the documentation (where we should rather point users to this directory). I included git-svnrevert as an additional gift to the community. I will update the documentation in a second commit later today. git-svnrevert takes in a git hash for a commit, looks up the svn revision for said commit and then creates the normal git revert commit message with the one liner message, except instead of saying Revert "<<<INSERT ONELINER HERE>>>" This reverts commit <<<INSERT GITHASH HERE>>> It says: Revert "<<<INSERT ONELINER HERE>>>" This reverts commit r<<<INSERT SVN REVISION HERE>>> so git hashes will not escape into our svn logs (which just look unseemly). llvm-svn: 180587
* Add a testcase for a recent regression.Rafael Espindola2013-04-261-0/+9
| | | | | | Thanks to Bill Wendling for the original testcase. llvm-svn: 180586
* Further wordsmith release notes for the static analyzer.Ted Kremenek2013-04-261-6/+17
| | | | llvm-svn: 180585
* Mips assembler: .set reorder supportJack Carter2013-04-252-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | Mips have delayslots for certain instructions like jumps and branches. These are instructions that follow the branch or jump and are executed before the jump or branch is completed. Early Mips compilers could not cope with delayslots and left them up to the assembler. The assembler would fill the delayslots with the appropriate instruction, usually just a nop to allow correct runtime behavior. The default behavior for this is set with .set reorder. To tell the assembler that you don't want it to mess with the delayslot one used .set noreorder. For backwards compatibility we need to support .set reorder and have it be the default behavior in the assembler. Our support for it is to insert a NOP directly after an instruction with a delayslot when in .set reorder mode. Contributer: Vladimir Medic llvm-svn: 180584
* Revert r180263. It's causing failures.Bill Wendling2013-04-252-18/+6
| | | | llvm-svn: 180583
* Add Static Analyzer section to the Release Notes for clang 3.3Anna Zaks2013-04-251-0/+10
| | | | llvm-svn: 180582
* Build fix for systems that do not support NT_X86_XSTATE ptrace support.Matt Kopec2013-04-251-0/+5
| | | | | | Patch by Ashok Thirumurthi. llvm-svn: 180581
* Objective-C: This is a small modification to myFariborz Jahanian2013-04-255-28/+68
| | | | | | | | | | patch -n r180198. When reporting on missing property accessor implementation in categories, do not report when they are declared in primary class, class's protocol, or one of it super classes or in of the other categories. // rdar://13713098 llvm-svn: 180580
* [analyzer] Teach DeadStoreChecker to look though BO_Comma and disregard the LHS.Anna Zaks2013-04-252-4/+32
| | | | llvm-svn: 180579
* Remove SMLoc paired with CHECK-NOT patterns. Not functionality change.Michael Liao2013-04-252-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | Pattern has source location by itself. After adding a trivial method to retrieve it, it's unnecessary to pair a source location for CHECK-NOT patterns. One thing revised after this is the diagnostic info is more accurate by pointing to the start of the CHECK-NOT pattern instead of the end of the CHECK-NOT pattern. E.g. diagnostic message previously looks like <stdin>:1:1: error: CHECK-NOT: string occurred! test ^ test.txt:1:16: note: CHECK-NOT: pattern specified here CHECK-NOT: test ^ is changed to <stdin>:1:1: error: CHECK-NOT: string occurred! test ^ test.txt:1:12: note: CHECK-NOT: pattern specified here CHECK-NOT: test ^ llvm-svn: 180578
* Make function documentation conform to llvm standards.Preston Gurd2013-04-251-30/+32
| | | | | | Expunge all remaining traces and use of live variable information. llvm-svn: 180577
* ARM cost model: Integer div and rem is lowered to a function callArnold Schwaighofer2013-04-252-0/+518
| | | | | | | | Reflect this in the cost model. I observed this in MiBench/consumer-lame. radar://13354716 llvm-svn: 180576
* Re-enabling MCJIT object caching with memory leak fixedAndrew Kaylor2013-04-256-18/+370
| | | | llvm-svn: 180575
* revert r179735, it has no testcases, and doesn't really make sense.Chris Lattner2013-04-254-34/+29
| | | | llvm-svn: 180574
* This patch adds the X86FixupLEAs pass, which will reduce instructionPreston Gurd2013-04-2511-1/+444
| | | | | | | | latency for certain models of the Intel Atom family, by converting instructions into their equivalent LEA instructions, when it is both useful and possible to do so. llvm-svn: 180573
* Adds 64-bit POSIX support for AVXAshok Thirumurthi2013-04-255-105/+446
| | | | | | | | | | | | | | | | | - Adds unique enums for ymm registers to the ABI and the POSIX register context. - Reworks the register context data structures to support a union of FXSAVE and XSAVE --- Allows the same code base to deal with the FPU independent of the availability of AVX. - Determine if AVX is supported by attempting to read XSAVE using ptrace. --- Support an extended register set for avx registers if available. - Provide a mechanism to assemble/parse register halves into a single ymm buffer for use with RegisterValue. --- Reworked Read/WriteRegister routines to read/write/parse ymm registers. Adds tests for ymm register write with read-back, and expressions involving ymm registers. - Tests vary depending on the availability of an avx register set. Thanks to Daniel and Matt for their reviews. llvm-svn: 180572
* Put friend decls in the correct context.Rafael Espindola2013-04-252-15/+37
| | | | | | | | | | When we find a friend declaration we have to skip transparent contexts for doing lookups, but we should not skip them when inserting the new decl if the lookup found nothing. Fixes PR15841. llvm-svn: 180571
* LoopVectorizer: No need to generate pointer disambiguation checks between ↵Nadav Rotem2013-04-252-4/+48
| | | | | | readonly pointers. llvm-svn: 180570
* [mc-coff] Forward Linker Option flags into the .drectve sectionReid Kleckner2013-04-253-0/+73
| | | | | | | | | | | | | | Summary: This is modelled on the Mach-O linker options implementation and should support a Clang implementation of #pragma comment(lib/linker). Reviewers: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D724 llvm-svn: 180569
* Fix section relocation for SECTIONREL32 with immediate offset.Rafael Espindola2013-04-253-2/+36
| | | | | | Patch by Kai Nacke. This matches the gnu as output. llvm-svn: 180568
* Purged unnecessary data structures from the IRSean Callanan2013-04-251-25/+6
| | | | | | | | | | | | interpreter. They are a legacy from when the IR interpreter didn't work with materialized values but rather got values directly from ClangExpressionDeclMap. Also updated the #includes for IRInterpreter accordingly. llvm-svn: 180565
* Remove tailing whitespacesMichael Liao2013-04-251-1/+1
| | | | llvm-svn: 180564
* Fixed a crash in ClangASTSource when logging isSean Callanan2013-04-251-1/+2
| | | | | | disabled. llvm-svn: 180563
* [inline asm] Add a test case for r180226. The specific issue is that the inlineChad Rosier2013-04-251-0/+9
| | | | | | | assembly is requesting a 64-bit register, which is invalid for i386. rdar://13731657 llvm-svn: 180445
* Fix a possible null pointer dereference found by the analyzer.Anna Zaks2013-04-251-1/+1
| | | | | | When computing the other parameters, ‘op’ is checked for being null before it’s dereferenced. llvm-svn: 180271
* Fix header comment.Benjamin Kramer2013-04-251-2/+2
| | | | llvm-svn: 180268
* İsmail Dönmez: Change to mktemp template to make it compatible with Linux.Howard Hinnant2013-04-251-1/+1
| | | | llvm-svn: 180267
* Add an idea for cpp11-migrate and cpp14-migrateDmitri Gribenko2013-04-251-0/+15
| | | | llvm-svn: 180266
* Add -fno-rtti to ASan runtime cflags on Android.Evgeniy Stepanov2013-04-251-1/+1
| | | | | | Otherwise we are picking up an extra libstdc++ dependency. llvm-svn: 180265
* Improve clang-format's memoization behavior.Daniel Jasper2013-04-254-1/+47
| | | | | | | | | | | | | | | Deeply nested expressions basically break clang-format's memoization. This patch slightly improves the situations and makes expressions like aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa( aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa( aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa( aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa( aaaaa(aaaaa()))))))))))))))))))))))))))))))))))))))); work. llvm-svn: 180264
* Fix a case in linkage computation that should check for single line extern "C".Rafael Espindola2013-04-252-6/+18
| | | | llvm-svn: 180263
* Use a pointer as the relocation iterator.Rafael Espindola2013-04-251-24/+29
| | | | | | | | Since the relocation iterator walks only the relocations in one section, we can just use a pointer and avoid fetching information about the section at every reference. llvm-svn: 180262
* Clarify getRelocationAddress x getRelocationOffset a bit.Rafael Espindola2013-04-2511-58/+54
| | | | | | | | | | getRelocationAddress is for dynamic libraries and executables, getRelocationOffset for relocatable objects. Mark the getRelocationAddress of COFF and MachO as not implemented yet. Add a test of ELF's. llvm-readobj -r now prints the same values as readelf -r. llvm-svn: 180259
* Don't mark 'extern "C" void f(void)' as having extern storage class.Rafael Espindola2013-04-253-17/+33
| | | | | | | | | | Instead, we check for one line extern "C" context in linkage computation and when deciding if a variable is a definition. This hopefully completes the transition to having "as written" semantics for hasExternalStorage. llvm-svn: 180258
* [ASan] Add allow_user_segv_handler to let users override SEGV handler ↵Alexey Samsonov2013-04-254-2/+48
| | | | | | installed by ASan llvm-svn: 180255
* Fix constant folding for one lane vector types. Constant folding one lane ↵Silviu Baranga2013-04-252-1/+19
| | | | | | vector types not returns a vector instead of a scalar. llvm-svn: 180254
* Add option to align escaped newlines left.Daniel Jasper2013-04-255-53/+124
| | | | | | | | | | | | | | | This enables formattings like: #define A \ int aaaa; \ int b; \ int ccc; \ int dddddddddd; Enabling this for Google/Chromium styles only as I don't know whether it is desired for Clang/LLVM. llvm-svn: 180253
* Fix scrolling bug in clang-format's emacs integration.Daniel Jasper2013-04-251-5/+9
| | | | | | | This patch ensure that nothing scrolls even if the same buffer is opened in multiple windows. llvm-svn: 180252
* tsan: add a test that used to crash, fixed by r180180.Dmitry Vyukov2013-04-251-0/+24
| | | | llvm-svn: 180251
* [ms-cxxabi] Fix a number of bugs in the mangler.Peter Collingbourne2013-04-255-109/+173
| | | | | | | | | | | | | | This includes the following fixes: - Implement 4 subtly different variants of qualifier mangling and use them in what I believe are the right places. - Fix handling of array types. Previously we were always decaying them, which is wrong if the type appears as a template argument, pointee, referent etc. Fixes PR13182. Differential Revision: http://llvm-reviews.chandlerc.com/D709 llvm-svn: 180250
* Revert "Adding object caching support to MCJIT"Rafael Espindola2013-04-256-367/+18
| | | | | | | | | | This reverts commit 07f03923137a91e3cca5d7fc075a22f8c9baf33a. Looks like it broke the valgrind bot: http://lab.llvm.org:8011/builders/llvm-x86_64-linux-vg_leak/builds/649 llvm-svn: 180249
* Revert "Exposing MCJIT through C API"Rafael Espindola2013-04-256-249/+48
| | | | | | | | | | This reverts commit 8c31b298149ca3c3f2bbd9e8aa9a01c4d91f3d74. It looks like this commit broke some bots: http://lab.llvm.org:8011/builders/llvm-ppc64-linux2/builds/5209 llvm-svn: 180248
* Don't compute a std::vector<uint8_t> just to write it out a stream.Rafael Espindola2013-04-251-83/+17
| | | | llvm-svn: 180247
* Test case for r180241.Akira Hatanaka2013-04-251-0/+22
| | | | llvm-svn: 180246
* Test case for r180238.Akira Hatanaka2013-04-251-0/+22
| | | | llvm-svn: 180245
OpenPOWER on IntegriCloud