summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libclang output name is now libclang. This solves a name collisionOscar Fuentes2011-04-101-2/+2
| | | | | | | | | | when building with Visual Studio. `clang.dll' and `clang.exe' would have the same `clang.ilk' and `clang.pdb'. On a serial build those files would be overwritten as clang.exe/clang.dll are created. On a parallel build there is a risk of both files being written at the same time. On that case VS fails. llvm-svn: 129239
* Reword instructions for running tests on Visual Studio.Oscar Fuentes2011-04-101-1/+3
| | | | | | Suggested by Maël Hörz. llvm-svn: 129237
* Beginning of the Great Exception Handling Rewrite.Bill Wendling2011-04-1010-16/+87
| | | | | | | | | | | | | * Add a "landing pad" attribute to the BasicBlock. * Modify the bitcode reader and writer to handle said attribute. Later: The verifier will ensure that the landing pad attribute is used in the appropriate manner. I.e., not applied to the entry block, and applied only to basic blocks that are branched to via a `dispatch' instruction. (This is a work-in-progress.) llvm-svn: 129235
* Fix a bunch of major problems with __unknown_anytype and properly testJohn McCall2011-04-0914-39/+223
| | | | | | for them. The only major missing feature is references. llvm-svn: 129234
* drive by bug fix: DenseMapInfo::isEqual should be determined according toChris Lattner2011-04-091-1/+4
| | | | | | isEqual of its members, not operator==. llvm-svn: 129233
* LLVMCC_EMITIR_FLAG is already either -emit-llvm or ↵Chris Lattner2011-04-091-10/+10
| | | | | | -fplugin-arg-dragonegg-emit-ir, so don't add an extra leading -. Clang doesn't accept --emit-llvm. llvm-svn: 129232
* Make sure we or together the overflow flags of the multiply and add, so theEli Friedman2011-04-092-2/+3
| | | | | | check is triggered appropriately. Reported on cfe-dev. llvm-svn: 129231
* make stuff work when LLVMCC_OPTION is something like installed-clang, not ↵Chris Lattner2011-04-091-2/+2
| | | | | | just clang. llvm-svn: 129229
* fix rdar://8735979 - "int 3" doesn't match to "int3". Unfortunately,Chris Lattner2011-04-093-0/+23
| | | | | | | InstAlias doesn't allow matching immediate operands, so we have to write C++ code to do this. llvm-svn: 129223
* look for the verboten argument slot access in any order, thanks to FritsChris Lattner2011-04-091-0/+1
| | | | | | for pointing this out llvm-svn: 129217
* strcat() and strncat() model additions to CStringChecker.Lenny Maiorani2011-04-092-9/+222
| | | | | | Validates inputs are not NULL, checks for overlapping strings, concatenates the strings checking for buffer overflow, sets the length of the destination string to the sum of the s1 length and the s2 length, binds the return value to the s1 value. llvm-svn: 129215
* Fix potential buffer overflow on win32.Benjamin Kramer2011-04-091-12/+9
| | | | llvm-svn: 129214
* refactor flags for TokenKinds.defDylan Noblesmith2011-04-091-12/+12
| | | | | | | | Make KEYALL a combination of all other flags instead of its own separate flag. Also rewrite the enum definitions in hex instead of decimal. llvm-svn: 129213
* refactor -ccc-gcc-name codeDylan Noblesmith2011-04-093-18/+24
| | | | | | | | | | | | Put the logic for deciding the default name for gcc/g++ in the only place that actually cares about it. This also pushes an ifdef out of the generic driver code to a little further down, when the target is actually known. Hopefully it can be changed into just a runtime check in the future. llvm-svn: 129212
* Don't store Twine temporaries, it's not safe.Benjamin Kramer2011-04-092-9/+11
| | | | | | And don't append the name over and over again in the loop. llvm-svn: 129210
* Make error message more useful.Benjamin Kramer2011-04-091-2/+2
| | | | llvm-svn: 129209
* docs/*.html: Make W3C HTML 4.01 Strict more compliant.NAKAMURA Takumi2011-04-0915-36/+38
| | | | | FIXME: The logo handling in ReleaseNotes.html llvm-svn: 129208
* Add back a couple checks removed by r129128; the fact that an intitializerEli Friedman2011-04-092-4/+11
| | | | | | | is an array of structures doesn't imply it's a ConstantArray of ConstantStruct. llvm-svn: 129207
* PR8369: make __attribute((regparm(0))) work correctly. Original patch byEli Friedman2011-04-0911-22/+44
| | | | | | pageexec@freemail.hu, tweaks by me. llvm-svn: 129206
* Clean up the bool conversion warning. Group it with other conversionChandler Carruth2011-04-093-11/+12
| | | | | | | warnings, and make its text appropriate for constant bool expressions other than 'false'. This should finish off PR9612. llvm-svn: 129205
* Add support for warning on general null pointer expressions of booleanChandler Carruth2011-04-092-6/+13
| | | | | | | type rather than just the literal 'false'. This begins fixing PR9612, but the message is now wrong. WIP, the cleanup of the messaging is next. llvm-svn: 129204
* fix PR9523, a crash in looprotate on a non-canonical loop made out of ↵Chris Lattner2011-04-092-1/+21
| | | | | | indirectbr. llvm-svn: 129203
* fix indentationChris Lattner2011-04-091-7/+6
| | | | llvm-svn: 129202
* accept -x objc-cpp-output as an alias for -x objective-c-cpp-output,Chris Lattner2011-04-091-0/+1
| | | | | | per PR9577 llvm-svn: 129201
* Fix a bug where RecursivelyDeleteTriviallyDeadInstructions couldChris Lattner2011-04-092-3/+46
| | | | | | | delete the instruction pointed to by CGP's current instruction iterator, leading to a crash on the testcase. This fixes PR9578. llvm-svn: 129200
* Avoid excess precision issues that lead to generating host-compiler-specific ↵Chris Lattner2011-04-091-2/+6
| | | | | | | | code. Switch lowering probably shouldn't be using FP for this. This resolves PR9581. llvm-svn: 129199
* PR9604; try to deal with RAUW updates correctly in the AST. I'm not convincedEli Friedman2011-04-093-0/+54
| | | | | | | it's completely safe to cache the AST across LICM runs even with this fix, but this fix can't hurt. llvm-svn: 129198
* Test for r129190.Eli Friedman2011-04-091-0/+32
| | | | llvm-svn: 129197
* fix PR9629 - We were lowering regexes like a{{b|c}}d into ab|cd, whichChris Lattner2011-04-091-0/+8
| | | | | | | is substantially different than a(b|c)d. Form the latter regex instead. This found a few problems in the testsuite, which serves as its test. llvm-svn: 129196
* fix two completely broken tests, which were matching due to PR9629.Chris Lattner2011-04-092-4/+4
| | | | llvm-svn: 129195
* remove a bunch of CHECK lines that aren't checking whatChris Lattner2011-04-091-5/+0
| | | | | | | they thought they were, because alternation was expanding wrong in {{}}'s. llvm-svn: 129194
* regexes are allowed to match empty things, e.g. {{.*}} in filecheck.Chris Lattner2011-04-091-1/+1
| | | | llvm-svn: 129193
* various cleanups, no functionality change.Chris Lattner2011-04-091-10/+6
| | | | llvm-svn: 129192
* revert accidental commit.Chris Lattner2011-04-091-11/+11
| | | | llvm-svn: 129191
* fix a potentially serious bug in AliasSet::removeCallSite Chris Lattner2011-04-092-11/+12
| | | | | | | where we shrunk the list without updating the end iterator. By inspection, from PR9639. llvm-svn: 129190
* add a __sync_swap builtin to fill out the rest of the __sync builtins. Chris Lattner2011-04-095-1/+55
| | | | | | Patch by Dave Zarzycki! llvm-svn: 129189
* Build the Hopfield network incrementally when splitting global live ranges.Jakob Stoklund Olesen2011-04-097-84/+183
| | | | | | | | | It is common for large live ranges to have few basic blocks with register uses and many live-through blocks without any uses. This approach grows the Hopfield network incrementally around the use blocks, completely avoiding checking interference for some through blocks. llvm-svn: 129188
* Precompute interference for neighbor blocks as long as there is no interference.Jakob Stoklund Olesen2011-04-092-22/+37
| | | | | | This doesn't require seeking in the live interval union, so it is very cheap. llvm-svn: 129187
* fix doc comment bug, noticed by JochenChris Lattner2011-04-091-2/+2
| | | | llvm-svn: 129186
* have dag combine zap "store undef", which can be formed during call loweringChris Lattner2011-04-092-2/+23
| | | | | | with undef arguments. llvm-svn: 129185
* don't test for codegen of 'store undef'Chris Lattner2011-04-092-7/+11
| | | | llvm-svn: 129184
* docs/tutorial/OCamlLangImpl7.html: Fix a href to missing Chapter 8.NAKAMURA Takumi2011-04-091-1/+1
| | | | llvm-svn: 129183
* docs: Fix some in-package URLs.NAKAMURA Takumi2011-04-093-12/+12
| | | | | | (eg. trim http://llvm.org/docs/foo -> foo) llvm-svn: 129182
* docs: Canonicalize URLs.NAKAMURA Takumi2011-04-0981-96/+96
| | | | llvm-svn: 129181
* Convert the PointerWidthInBytes variable in EmitMemberPointer() to CharUnitsKen Dyck2011-04-091-4/+4
| | | | | | to eliminate a divide-by-8. No change in functionality intended. llvm-svn: 129180
* Eliminate a divide-by-8 in BuildVMIClassTypeInfo() by using CharUnits forKen Dyck2011-04-091-4/+5
| | | | | | the base offset. No change in functionality intended. llvm-svn: 129179
* Remove a pair of unused diagnostic messages.Eric Christopher2011-04-091-5/+0
| | | | llvm-svn: 129178
* Redirected errors from the AsmParser to the properSean Callanan2011-04-091-0/+10
| | | | | | | | | error stream, in cases where the AsmParser is being invoked by EDDisassembler. Before, they were being sent to errs() because no error handler was installed in the SourceMgr. llvm-svn: 129177
* Apply explicit braces to avoid ambiguous 'else' [-Wparentheses]Nick Lewycky2011-04-091-2/+2
| | | | llvm-svn: 129176
* Moved an access to an object past a NULL check,Sean Callanan2011-04-091-2/+2
| | | | | | making the MC disassembler tester more robust. llvm-svn: 129175
OpenPOWER on IntegriCloud