summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix some misplaced punctuation.Bill Wendling2011-11-041-2/+2
| | | | llvm-svn: 143737
* In ARC, when applying an ownership to a non-objc pointer, instead of ignoring itArgyrios Kyrtzidis2011-11-041-3/+31
| | | | | | | | | create an attributed type with same type as the original type. We effectively retain the source info that an ownership attribute was present but the attribute is ignored by not modifying the type that it was applied to. llvm-svn: 143736
* Add triple to test.Rafael Espindola2011-11-041-1/+1
| | | | llvm-svn: 143735
* Enable -flimit-debug-info by default. Now, clang lazily emits debug info for ↵Devang Patel2011-11-045-2/+8
| | | | | | structs. Original behavior can be restored using -fno-limit-debug-info. llvm-svn: 143733
* [driver] Don't blindly accept all -g options.Chad Rosier2011-11-042-2/+37
| | | | | | rdar://10383444 llvm-svn: 143732
* build/cmake: Coalesce the configuration time header include fragment generationDaniel Dunbar2011-11-042-44/+43
| | | | | | for target definitions. llvm-svn: 143731
* build/cmake: Coalesce in-tree sanity checks.Daniel Dunbar2011-11-041-13/+17
| | | | llvm-svn: 143730
* build/cmake: Tidy up specification of build/include options for (tools, runtime,Daniel Dunbar2011-11-041-15/+21
| | | | | | examples, and tests). llvm-svn: 143729
* build/cmake: Move all the user controllable options into top-level CMakeListsDaniel Dunbar2011-11-042-13/+37
| | | | | | for consistency. llvm-svn: 143728
* build/cmake: Use tblgen macro directly instead of llvm_tablegen, which justDaniel Dunbar2011-11-0412-84/+80
| | | | | | added a layer of indirection with no value (not even conciseness). llvm-svn: 143727
* Emit declarations before definitions if they are available. This causes ↵Rafael Espindola2011-11-042-6/+83
| | | | | | | | DW_AT_specification to point back in the file in the included testcase. Fixes PR11300. llvm-svn: 143726
* Revert r143551. It is causing g++.dg/template/crash52.C test failure.Devang Patel2011-11-042-60/+66
| | | | llvm-svn: 143725
* objc: fixed enum type is supported in objc mode.Fariborz Jahanian2011-11-042-0/+8
| | | | | | | Fixes a bug where enumerator type is not this fixed type. // rdar://10381507 llvm-svn: 143724
* Reformatting changes to get rid of blank lines, put code on one line, and toBill Wendling2011-11-041-66/+58
| | | | | | decrease some code indentation. No intended functional changes. llvm-svn: 143723
* Add missing includes/decls.Eli Friedman2011-11-042-0/+6
| | | | llvm-svn: 143722
* Add tests for existing InstSimplify features.Dan Gohman2011-11-041-0/+21
| | | | llvm-svn: 143721
* Clean up C++11 constant expression testing.Richard Smith2011-11-041-62/+65
| | | | llvm-svn: 143720
* Teach instsimplify to simplify calls to undef.Dan Gohman2011-11-042-0/+18
| | | | llvm-svn: 143719
* Add missing includes/class declaration.Eli Friedman2011-11-043-0/+7
| | | | llvm-svn: 143718
* Add missing forward declarations.Eli Friedman2011-11-041-0/+3
| | | | llvm-svn: 143717
* Add a couple missing includes; found while analyzing LLVM headers.Eli Friedman2011-11-042-0/+3
| | | | llvm-svn: 143716
* Delete names for unused parameters in inline function definitions in ↵Eli Friedman2011-11-044-30/+30
| | | | | | headers, so LLVM users can compile with -Wunused-parameter. PR11257; based on patch by Kevin Harris. llvm-svn: 143715
* Build llvmCore with RTTI enabled. <rdar://problem/10395761>Bob Wilson2011-11-041-0/+1
| | | | llvm-svn: 143714
* For "Debug" and "Release" builds, don't build llvm into the $(OBJROOT) sinceGreg Clayton2011-11-041-8/+3
| | | | | | | | | | we often nuke our "build" folder so we can do clean builds. This way if you are building your own LLVM you won't have to rebuild LLVM when you do remove your build folder. The new location for the LLVM build is: lldb/llvm-build llvm-svn: 143713
* Add missing argument for atomic instructions in c++ backend. PR11268, part 2.Eli Friedman2011-11-041-3/+3
| | | | llvm-svn: 143712
* Fixed the LD_DYLIB_INSTALL_NAME to the LLDB.framework.Greg Clayton2011-11-041-3/+3
| | | | llvm-svn: 143710
* utils: Remove build-for-llvm-top.sh and ModuleInfo.txt, which are not ↵Daniel Dunbar2011-11-042-72/+0
| | | | | | documented and I am pretty sure no one uses. llvm-svn: 143708
* Add new test.Devang Patel2011-11-041-0/+11
| | | | llvm-svn: 143706
* Remove declarations for functions that don't exist (and never have).Chad Rosier2011-11-041-3/+1
| | | | | | Patch by Anders Waldenborg <anders@0x63.nu>. llvm-svn: 143705
* Add new test.Devang Patel2011-11-041-0/+8
| | | | llvm-svn: 143704
* Fix linux build after r143679.Benjamin Kramer2011-11-041-2/+3
| | | | llvm-svn: 143703
* Remove support folder from Apple installHoward Hinnant2011-11-041-5/+5
| | | | llvm-svn: 143702
* [arcmt] For GC, cleanup and turn -finalize to -dealloc.Argyrios Kyrtzidis2011-11-047-20/+107
| | | | llvm-svn: 143701
* [arcmt] In GC, error for use of CFMakeCollectable because it will leak theArgyrios Kyrtzidis2011-11-042-5/+26
| | | | | | object that it receives in ARC. llvm-svn: 143700
* In C++ keep unavailable function calls in the AST, like in C/ObjC.Argyrios Kyrtzidis2011-11-044-0/+12
| | | | | | This allows the migrator to visit and fix them. llvm-svn: 143699
* [arcmt] In GC, transform NSMakeCollectable to CFBridgingRelease.Argyrios Kyrtzidis2011-11-0411-10/+207
| | | | llvm-svn: 143698
* Remove unused variables.Benjamin Kramer2011-11-042-4/+0
| | | | llvm-svn: 143696
* Simplify code.Benjamin Kramer2011-11-041-4/+3
| | | | llvm-svn: 143695
* Include limits.h for PATH_MAX.Benjamin Kramer2011-11-041-0/+1
| | | | llvm-svn: 143694
* ScopDetection: Small fixes and improvements for the SCEVValidatorTobias Grosser2011-11-041-35/+48
| | | | | | These fixes were part of a code audit of the SCEVValidator. llvm-svn: 143692
* ScopInfo: Add two new asserts.Tobias Grosser2011-11-041-0/+3
| | | | | | They show a bug recently reported by Marcello Maggioni <hayarms@gmail.com> llvm-svn: 143691
* Move comment to the correct place.Bill Wendling2011-11-042-2/+1
| | | | llvm-svn: 143690
* Make the Mangler an ivar so that it doesn't have to be passed around everywhere.Bill Wendling2011-11-042-29/+23
| | | | llvm-svn: 143689
* Refactor the MCContext so that it's an ivar instead of a local which is passedBill Wendling2011-11-042-13/+13
| | | | | | around. This is important for some future work as well. llvm-svn: 143688
* Sink the strange '-stdlib=...' flag handling into the C++ includeChandler Carruth2011-11-042-5/+11
| | | | | | | | | | | | | | | | | | | | handling logic of the generic ToolChain. This flag, despite its name, has *nothing* to do with the GCC flag '-nostdlib' that relates (exclusively) to the linking behavior. It is a most unfortunate name in that regard... It is used to tell InitHeaderSearch.cpp *which* set of C++ standard library header search paths to use -- those for libstdc++ from GCC's installation, or those from a libc++ installation. As this logic is hoisted out of the Frontend, and into the Driver as part of this ToolChain, the generic method will be overridden for the platform, where it can implement this logic directly. As such, hiding the CC1 option passing in the generic space is a natural fit despite the odd naming. Also, expand on the comments to clarify whats going on, and tidy up the Tools.cpp code now that its simpler. llvm-svn: 143687
* Sink the handling of -fobjc-arc-cxxlib to live with the other -fobjc-arcChandler Carruth2011-11-043-22/+13
| | | | | | | | implementation in the driver. This cleans up the signature and semantics of the include flag adding component of the toolchain. Another step to ready it for holding all the InitHeaderSearch logic. llvm-svn: 143686
* Add a FIXME to cleanup the CPATH handling. It's currently burried withChandler Carruth2011-11-041-0/+2
| | | | | | | | the rest of the mess in InitHeaderSearch.cpp. We could hoist it into the driver profitably, removing more noise from the driver -> frontend communication. llvm-svn: 143685
* Add a system include management interface to the toolchain, and call itChandler Carruth2011-11-043-11/+26
| | | | | | | | | | | and the C++ include management routine from the proper place when forming preprocessor options in the driver. This is the first step to teaching the driver to manage all of the header search paths. Currently, these methods remain just stubs in the abstract toolchain. Subsequent patches will flesh them out with implementations for various toolchains based on the current code in InitHeaderSearch.cpp. llvm-svn: 143684
* Add intrinsics for X86 vcvtps2ph and vcvtph2ps instructionsCraig Topper2011-11-042-24/+45
| | | | llvm-svn: 143683
* Add intrinsics for X86 vcvtps2ph and vcvtph2ps instructionsCraig Topper2011-11-041-0/+32
| | | | llvm-svn: 143682
OpenPOWER on IntegriCloud