summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Create a new directory before running the polly scriptTobias Grosser2012-07-241-1/+2
| | | | | | | Otherwise the script spams the home directory and, in case there are folders of previous attempts lying around, it may fail in some unexpected way. llvm-svn: 160677
* teach objectsize about strdup() and strndup()Nuno Lopes2012-07-242-3/+64
| | | | llvm-svn: 160676
* Comment parsing: retokenized text tokens are now pushed back in correct (notDmitri Gribenko2012-07-243-3/+31
| | | | | | reverse) order llvm-svn: 160675
* Introduces a new concept for binding results to matchersManuel Klimek2012-07-243-53/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | as per Chandler's request: - introduces a new matcher base type BindableMatcher that provides the bind() call - makes all dynamic-cast matcher creation functions return BindableMatchers; the special case about dynamic-cast matchers is that the node they match on and the node their child matchers match on are the same node, just casted to a different type; thus, there is no ambiguity on what bind() matches on; additionally, those are the matchers that we name with nouns in the matcher language, so it's easy for users to intuitively know which matchers are bindable To make this change possible, we got rid of a non-orthogonal implementation of thisPointerType, which had an implicit dynamic-cast matcher from CallExpr to CXXMemberCallExpr; as alternative, we now provide a memberCall dynamic-cast matcher and thisPointerType is a predicate on CXXMemberCallExpr. Last, the ArgumentAdaptingMatcher is actually not required for the implementation of makeDynCastAllOfComposite - this simplification makes it more obvious where the bind() call can be used based on the matcher creation function types. llvm-svn: 160673
* tsan: align report style with Go internal formatDmitry Vyukov2012-07-243-16/+14
| | | | llvm-svn: 160672
* Revert r160669 (except for compile flag updates)Alexey Samsonov2012-07-241-23/+4
| | | | llvm-svn: 160671
* tsan: output goroutine creation stackDmitry Vyukov2012-07-241-0/+10
| | | | llvm-svn: 160670
* [ASan] hacking cmake build: after generating asan runtime, copy it to the ↵Alexey Samsonov2012-07-241-1/+27
| | | | | | Clang lib directory where Clang driver expects to find it. llvm-svn: 160669
* Clean whitespaces.Nadav Rotem2012-07-2422-498/+500
| | | | llvm-svn: 160668
* Fix PR13207 (Mangling of templates with back references when using -cxx-abi ↵Timur Iskhodzhanov2012-07-242-34/+120
| | | | | | microsoft) llvm-svn: 160667
* [ASan] Support for cmake build of ASan unittests in 32-bit LLVM build. ↵Alexey Samsonov2012-07-243-49/+50
| | | | | | Currently, to run ASan unit tests both for 32- and 64 bits one has to maintain two distinct LLVM builds. In a bright future, we'd like to use a single build for this llvm-svn: 160666
* Teach globalopt to not nuke all stores to globals. Keep them around of theyNick Lewycky2012-07-243-9/+197
| | | | | | | | | might be deliberate "one time" leaks, so that leak checkers can find them. This is a reapply of r160602 with the fix that this time I'm committing the code I thought I was committing last time; the I->eraseFromParent() goes *after* the break out of the loop. llvm-svn: 160664
* Change the way KEYNOMS is defined to be more comprehensible. Francois Pichet2012-07-241-2/+2
| | | | llvm-svn: 160663
* Change llvm_unreachable in SplitVectorOperand to report_fatal_error. Keeps ↵Craig Topper2012-07-241-1/+3
| | | | | | release builds from crashing if code uses an intrinsic with an illegal type. llvm-svn: 160661
* clang/test/CodeGenCXX/debug-info-globalinit.cpp: Fix for -Asserts.NAKAMURA Takumi2012-07-241-4/+4
| | | | llvm-svn: 160660
* Emit debug info for dynamic initializers. Permit __attribute__((nodebug)) onNick Lewycky2012-07-248-24/+68
| | | | | | | variables that have static storage duration, it removes debug info on the emitted initializer function but not all debug info about this variable. llvm-svn: 160659
* Fix whitespace, whoops missed a spot!Nick Lewycky2012-07-241-1/+1
| | | | llvm-svn: 160658
* Fix whitespace, tabs to spaces. No functionality change.Nick Lewycky2012-07-241-6/+6
| | | | llvm-svn: 160657
* Sanity check the result of Symbol::GetPrologueByteSize - make sure it is not ↵Jim Ingham2012-07-241-0/+6
| | | | | | greater than the size of the Symbol returning it. llvm-svn: 160656
* Use a more efficient API to tell if a process belongs to springboard or not.Jim Ingham2012-07-242-44/+6
| | | | llvm-svn: 160655
* Fix function MipsCodeEmitter::emitExternalSymbolAddress to pass testAkira Hatanaka2012-07-241-1/+1
| | | | | | | | ExecutionEngine/test-fp.ll. Patch by Petar Jovanovic. llvm-svn: 160653
* move X86_32ABIInfo::computeInfo out of line.Rafael Espindola2012-07-241-8/+9
| | | | llvm-svn: 160652
* Add basic ability to setup call frame, and make procedure calls.Akira Hatanaka2012-07-2311-44/+338
| | | | | | | | Hello world will compile and execute with this patch. Patch by Reed Kotler. llvm-svn: 160651
* Comment parser unit tests: split a huge test caseDmitri Gribenko2012-07-231-34/+51
| | | | llvm-svn: 160649
* Make classifyReturnType and classifyArgumentType private.Rafael Espindola2012-07-231-3/+3
| | | | llvm-svn: 160648
* Comment parser unit tests: reduce code duplicationDmitri Gribenko2012-07-231-122/+45
| | | | llvm-svn: 160647
* Do not warn about a function decl / direct init ambiguity if the function ↵Richard Smith2012-07-232-2/+4
| | | | | | has a trailing return type. llvm-svn: 160646
* Fix a "Bad fd number" error on some platforms due to a less portableEric Christopher2012-07-231-1/+1
| | | | | | | | redirection in the system call. Patch by Andy Gibbs. llvm-svn: 160644
* make ConstantRange::zeroExtend() optimalNuno Lopes2012-07-232-2/+10
| | | | llvm-svn: 160643
* Add operator== to APSInt. This will compare the signed bit before doingRichard Trieu2012-07-231-1/+20
| | | | | | | the comparison. This prevents large unsigned integers from being equal to signed negative integers of the same bit width. llvm-svn: 160642
* Change APInt to APSInt in one instance. Also change a call to operator==() toRichard Trieu2012-07-234-6/+6
| | | | | | APSInt::isSameValue() when comparing different sized APSInt's. llvm-svn: 160641
* add AST unittests to CMake build systemDmitri Gribenko2012-07-232-0/+2
| | | | llvm-svn: 160640
* Fix this for gdb 7.4.Eric Christopher2012-07-231-1/+2
| | | | | | Patch by Andy Gibbs. llvm-svn: 160639
* libclang comments AST: clang_ParamCommandComment_getParamName: don't assertDmitri Gribenko2012-07-232-25/+35
| | | | | | | when a \param command does not have a parameter name, just return an empty string instead. llvm-svn: 160638
* An objc_retain can serve as a may-use for a different pointer.Dan Gohman2012-07-232-1/+28
| | | | | | rdar://11931823. llvm-svn: 160637
* Add comment for relocations MO_HIGHER and HIGHEST in MipsBaseInfo.h.Akira Hatanaka2012-07-231-0/+2
| | | | llvm-svn: 160636
* Refactor handler functions for thread safety attributes.Michael Han2012-07-231-100/+205
| | | | | | | | Make handler functions for thread safety attributes consistent with other attributes handler functions by removing the bool parameter from some of the thread safety attributes handler functions and extracting common checks out of different handler functions. llvm-svn: 160635
* Comment Sema: refactor handling of 'ParmVarDecl's and save them in Sema members.Dmitri Gribenko2012-07-232-30/+72
| | | | llvm-svn: 160634
* Comment AST: add InlineContentComment::RenderKind to specify a defaultDmitri Gribenko2012-07-239-41/+175
| | | | | | | | rendering mode for clients that don't want to interpret Doxygen commands. Also add a libclang API to query this information. llvm-svn: 160633
* Test revert of test changes.Micah Villmow2012-07-231-1/+0
| | | | llvm-svn: 160632
* Test commit.Micah Villmow2012-07-231-0/+1
| | | | llvm-svn: 160631
* Intercept CFAllocator for each thread in the program.Alexander Potapenko2012-07-239-3/+52
| | | | | | | Test that child threads use the ASan allocator, that allocated memory can be passed to another thread and deallocated on it. This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=81 llvm-svn: 160630
* Suppress a warning.Nadav Rotem2012-07-231-1/+2
| | | | llvm-svn: 160629
* Follow-up: fix the quotesTimur Iskhodzhanov2012-07-231-3/+3
| | | | llvm-svn: 160626
* Replace wrong CHECK array mangling expectations with correct CHECK-NOT+FIXME ↵Timur Iskhodzhanov2012-07-231-4/+9
| | | | | | (PR13182) llvm-svn: 160625
* [ASan] minor fixes to silence cmake build warningsAlexey Samsonov2012-07-233-16/+13
| | | | llvm-svn: 160624
* Doxygenify the comments of ISD nodes.Nadav Rotem2012-07-231-292/+293
| | | | llvm-svn: 160623
* Fix a typo (the the => the)Sylvestre Ledru2012-07-2330-32/+32
| | | | llvm-svn: 160622
* Fix a typo (the the => the)Sylvestre Ledru2012-07-2343-45/+45
| | | | llvm-svn: 160621
* For wild addresses in the shadow or shadow gap areas print an error message ↵Alexander Potapenko2012-07-234-21/+66
| | | | | | | | instead of crashing on a check. Add AddressSanitizer.MemsetWildAddressTest that makes sure a proper error message is printed. llvm-svn: 160620
OpenPOWER on IntegriCloud