summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [tsan] fix dependency rules in Makefile.oldKostya Serebryany2012-05-171-3/+5
| | | | llvm-svn: 156983
* tsan: ValgrindSlowdown() should be weak for some timeDmitry Vyukov2012-05-171-1/+1
| | | | llvm-svn: 156982
* tsan: add ValgrindSlowdown() "dynamic annotation"Dmitry Vyukov2012-05-171-0/+4
| | | | llvm-svn: 156981
* Genericize the intrinsics descriptor decoding a bit to make room Chris Lattner2012-05-171-20/+25
| | | | | | for future expansion, no functionality change yet though. llvm-svn: 156979
* finish encoding all of the interesting details of intrinsics. Now intrinsicsChris Lattner2012-05-172-48/+70
| | | | | | | are only rejected because they can't be encoded into a 32-bit unit, not because they contain an unencodable feature. llvm-svn: 156978
* strengthen the intrinsic descriptor stuff to be able to handle sin, cos and ↵Chris Lattner2012-05-172-64/+84
| | | | | | | | other intrinsics that use passed-in arguments. llvm-svn: 156977
* simplify code generated by tblgen that is not necessary since we droppedChris Lattner2012-05-171-20/+4
| | | | | | compatibility with LLVM 2.x bitcode files. llvm-svn: 156976
* I forgot the #ifdef _MSC_VER guard in my last commit.Francois Pichet2012-05-171-0/+5
| | | | llvm-svn: 156975
* Make sure to subtract one from the PC when doing the symbolication of stack ↵Greg Clayton2012-05-171-1/+6
| | | | | | frames when it isn't the zero'th frame. llvm-svn: 156974
* Fix the MSVC 2010 build: disable the optimizer for a problematic function.Francois Pichet2012-05-171-0/+2
| | | | llvm-svn: 156973
* Bump to version 148.Jason Molenda2012-05-174-21/+21
| | | | llvm-svn: 156971
* Use the argument location instead of the format string location when warningMatt Beaumont-Gay2012-05-172-9/+14
| | | | | | | | | | | | | | | | | | about argument type mismatch. This gives a nicer diagnostic in cases like printf(fmt, i); where previously the snippet just pointed at 'fmt' (with a note at the definition of fmt). It's a wash for cases like printf("%f", i); where previously we snippeted the offending portion of the format string, but didn't indicate which argument was at fault. llvm-svn: 156968
* [libclang/AST] When declaring a local class, don't neglect to set the end ↵Argyrios Kyrtzidis2012-05-162-0/+11
| | | | | | | | | | | location of the DeclStmt node, otherwise libclang will not work for anything inside that class. rdar://10837710 llvm-svn: 156966
* [driver] Remove obsolete support for -A link option. The standard -A option isChad Rosier2012-05-161-5/+2
| | | | | | | | | | | | used by the preprocessor. Apple's GCC also supported a -A option for linking. The ld man page has the following: -A basefile - Obsolete incremental load format. This option is obsolete. Nick Kledzik confirms this option is no longer needed/supported. rdar://11455614 llvm-svn: 156965
* Recover better from a missing 'typename' in a function template definition.Richard Smith2012-05-164-18/+98
| | | | | | | | Disambiguate past such a potential problem, and use the absence of 'typename' to break ties in favor of a parenthesized thingy being an initializer, if nothing else in the declaration disambiguates it as declaring a function. llvm-svn: 156963
* Warn the user when several commands match the input given.Filipe Cabecinhas2012-05-162-2/+28
| | | | | | Added a testcase. llvm-svn: 156961
* Use RegUnits to compute overlapping registers.Jakob Stoklund Olesen2012-05-163-83/+54
| | | | | | | | | | | TableGen already computes register units as the basic unit of interference. We can use that to compute the set of overlapping registers. This means that we can easily compute overlap sets for one register at a time. There is no benefit to computing all registers at once. llvm-svn: 156960
* SmallString Visual Studio visualizer by Will Wilson.David Blaikie2012-05-161-0/+5
| | | | llvm-svn: 156959
* This patch adds the register class for MIPS16 as well as the ability forAkira Hatanaka2012-05-165-11/+26
| | | | | | | | | | | | | | | llc to recognize MIPS16 as a MIPS ASE extension. -mips16 will mean the mips16 ASE for mips32 by default. As part of fixing of adding this we discovered some small changes that need to be made to MipsInstrInfo::storeRegToStackSLot and MipsInstrInfo::loadRegFromStackSlot. We were using some "==" equality tests where in fact we should have been using Mips::<regclas>.hasSubClassEQ instead, per suggestion of Jakob Stoklund Olesen. Patch by Reed Kotler. llvm-svn: 156958
* clang/test/Tooling: Remark as XFAIL again in 5 tests for msvc hosts.NAKAMURA Takumi2012-05-165-0/+15
| | | | | FIXME: JSON doesn't like path separator '\', on Win32 hosts. llvm-svn: 156957
* <rdar://problem/11439755>Greg Clayton2012-05-161-115/+123
| | | | | | Make sure we can fail to create a compile unit without asserting. We now emit a warning. llvm-svn: 156956
* Grammar.Eric Christopher2012-05-161-2/+2
| | | | llvm-svn: 156955
* XFAIL this test on MIPS.Akira Hatanaka2012-05-161-1/+1
| | | | | | Since r156650, clang has stopped emitting byval arguments for MIPS targets. llvm-svn: 156954
* Remove unnecessary temporary.Eric Christopher2012-05-161-3/+1
| | | | llvm-svn: 156953
* Fix a typo.Johnny Chen2012-05-161-1/+1
| | | | llvm-svn: 156952
* Set sub-register <undef> flags more accurately.Jakob Stoklund Olesen2012-05-161-7/+11
| | | | | | | | | | | | | | | When widening an existing <def,reads-undef> operand to a super-register, it may be necessary to clear the <undef> flag because the wider register is now read-modify-write through the instruction. Conversely, it may be necessary to add an <undef> flag when the coalescer turns a full-register def into a sub-register def, but the larger register wasn't live before the instruction. This happens in test/CodeGen/ARM/coalesce-subregs.ll, but the test is too small for the <undef> flags to affect the generated code. llvm-svn: 156951
* Rename the driver option to -mno-implicit-float, per Eli's suggestion.Chad Rosier2012-05-164-3/+5
| | | | llvm-svn: 156950
* Add triples for test.Jordy Rose2012-05-161-2/+4
| | | | llvm-svn: 156949
* Enabled C++11 in the expression parser. auto andSean Callanan2012-05-163-3/+21
| | | | | | | | | various other syntactic sugar work. Lambdas do not due to some problems relocating code containing lambdas. Rvalue references work when returned from expressions, but need more testing. llvm-svn: 156948
* Pulls diagnostics for temp file handling into the common diagnostic kinds.Manuel Klimek2012-05-165-6/+6
| | | | llvm-svn: 156947
* Disassemble the signal number and also the mach exceptions when dumping stop ↵Greg Clayton2012-05-161-8/+71
| | | | | | reply packets. llvm-svn: 156946
* Fixed an exception when parsing crash logs.Greg Clayton2012-05-161-1/+2
| | | | llvm-svn: 156945
* Updated LLVM to fix a problem where the ThumbSean Callanan2012-05-161-35/+54
| | | | | | | disassembler improperly sign-extended the target for BL instructions in certain cases. llvm-svn: 156944
* Update the comments for lldbtest module. The test driver is the only way to ↵Johnny Chen2012-05-161-76/+11
| | | | | | run the test suite. llvm-svn: 156943
* [driver] Allow the driver to directly accept the -no-implicit-float option, ↵Chad Rosier2012-05-164-2/+7
| | | | | | | | | so that the generation of implicit floating point instructions can be disable for ARM. rdar://11409142 llvm-svn: 156942
* [analyzer] Fix test for PR12206, which was failing on i386.Jordy Rose2012-05-163-89/+96
| | | | llvm-svn: 156941
* Add _alignof and __builtin_alignof as aliases for __alignof inDouglas Gregor2012-05-162-22/+29
| | | | | | Microsoft mode, from Will Wilson! llvm-svn: 156940
* Make the script more friendly when running under python debugger.Johnny Chen2012-05-161-0/+2
| | | | llvm-svn: 156939
* Tweek r156937 a bit so that the suggestions are correct.Chad Rosier2012-05-162-2/+3
| | | | llvm-svn: 156938
* Warn about -Wno-foo where foo is an unknown warning option. This is helpful Chad Rosier2012-05-163-5/+12
| | | | | | | | | | | for subtle misspellings such as -Wno-unused-command-line-arguments instead of -Wno-unused-command-line-argument. Also fix the diagnostic messages to properly handle -Wno- options. Previously, the positive version was always emitted (i.e., -Wfoo was emitted for -Wno-foo). rdar://11461500 llvm-svn: 156937
* [libclang] Properly handle @encode() in RecursiveASTVisitor and traverseArgyrios Kyrtzidis2012-05-162-5/+11
| | | | | | its type source info. Fixes indexing references inside @encode(). llvm-svn: 156936
* Disable JITTest.FunctionIsRecompiledAndRelinked and JITTest.NoStubsSimon Atanasyan2012-05-161-6/+8
| | | | | | on MIPS where they are not implemented. llvm-svn: 156935
* Move the warnings for extra semi-colons under -Wextra-semi. Also, addedRichard Trieu2012-05-169-35/+83
| | | | | | | | a warning for an extra semi-colon after function definitions. Added logic so that a block of semi-colons on a line will only get one warning instead of a warning for each semi-colon. llvm-svn: 156934
* Added LLIMCJITMemoryManager to the lli. This manager will be used for MCJIT ↵Danil Malyshev2012-05-163-4/+229
| | | | | | | | instead of DefaultJIMMemoryManager. It's more flexible for MCJIT tasks, in addition it's provides a invalidation instruction cache for code sections which will be used before JIT code will be executed. llvm-svn: 156933
* [analyzer] Revert a regression committed in r156920.Anna Zaks2012-05-161-5/+4
| | | | | | This breaks the build with -triple i386-apple-darwin9. llvm-svn: 156932
* The redo.py script can take no argument where it uses heuristics to find the ↵Johnny Chen2012-05-161-4/+1
| | | | | | latest session directory. llvm-svn: 156931
* clang/test/Tooling: Remove XFAIL in 5 tests to unveil the real failure.NAKAMURA Takumi2012-05-165-20/+0
| | | | | | FYI, they can pass on Cygwin w/o any tweaks. llvm-svn: 156930
* clang/test/Tooling/clang-check-pwd.cpp: Add "REQUIRES: shell".NAKAMURA Takumi2012-05-161-3/+1
| | | | | | This passes on MSYS bash and Cygwin. llvm-svn: 156929
* Don't do a stat compare of the module with its underlying file if we already ↵Jim Ingham2012-05-161-15/+12
| | | | | | matched the UUID. llvm-svn: 156928
* Add GetID to the .i file.Jim Ingham2012-05-161-0/+3
| | | | llvm-svn: 156927
OpenPOWER on IntegriCloud