summaryrefslogtreecommitdiffstats
path: root/clang/tools/driver
Commit message (Collapse)AuthorAgeFilesLines
...
* cc1: Fix stats printing by default when using -mllvm -stats.Daniel Dunbar2011-02-261-1/+1
| | | | llvm-svn: 126559
* CMake: add version information into the clang executable and libclangDouglas Gregor2011-02-251-0/+3
| | | | | | shared library. llvm-svn: 126502
* CMAKE_EXECUTABLE_SUFFIX is undefined when a cmake script is executedOscar Fuentes2011-02-221-2/+9
| | | | | | | | with cmake -P ... so we need to deduce the correct executable prefix. Fixes PR9286. llvm-svn: 126219
* Put targets on folders, if the IDE supports the feature.Oscar Fuentes2011-02-201-0/+1
| | | | | | Requires CMake 2.8.3 or newer. llvm-svn: 126094
* Re-instate r125819 and r125820 with no functionality changePeter Collingbourne2011-02-191-3/+0
| | | | llvm-svn: 126060
* Revert 125820 and 125819 to fix PR9266.Rafael Espindola2011-02-191-0/+3
| | | | llvm-svn: 126050
* Move CompilerInstance::LLVMContext and LLVMContext ownership to CodeGenActionPeter Collingbourne2011-02-181-3/+0
| | | | | | | | | This removes the final dependency edge from any lib outside of CodeGen to core. As a result we can, and do, trim the dependency on core from libclang, PrintFunctionNames, the unit tests and c-index-test. While at it, review and trim other unneeded dependencies. llvm-svn: 125820
* [analyzer] Introduce libclangStaticAnalyzerFrontend and move ↵Argyrios Kyrtzidis2011-02-142-1/+3
| | | | | | Checkers/AnalysisConsumer.cpp into Frontend lib. llvm-svn: 125499
* Add CMake dependencies so that LLVM_USED_LIBS order doesn't matter.Jeffrey Yasskin2011-02-111-10/+10
| | | | | | | I also sorted the tools/driver dependencies since their order no longer matters. llvm-svn: 125417
* CMake: LLVM_NO_RTTI must be obsolete now!NAKAMURA Takumi2011-02-101-2/+0
| | | | llvm-svn: 125275
* CLANG_BINARY_DIR is not the same thing as LLVM_BINARY_DIR when ClangOscar Fuentes2011-02-061-2/+2
| | | | | | is built as part of LLVM. llvm-svn: 124982
* Remove the clang++ symlink with `make clean'.Oscar Fuentes2011-02-051-2/+5
| | | | llvm-svn: 124974
* clang: Add support for a CC_PRINT_HEADERS environment variable, which mirrorsDaniel Dunbar2011-02-021-0/+5
| | | | | | | CC_PRINT_OPTIONS and can be used to get some out-of-band information on header usage from a build. llvm-svn: 124751
* Add support for the --noexecstack option. Fixes PR8762.Rafael Espindola2011-01-231-2/+6
| | | | llvm-svn: 124078
* Add missing <cctype> include, from Joerg SonnenbergerDouglas Gregor2011-01-171-0/+1
| | | | llvm-svn: 123668
* Revert r123160. There are linking dependency problems.Zhongxing Xu2011-01-101-1/+2
| | | | llvm-svn: 123166
* Chris Lattner has strong opinions about directoryTed Kremenek2010-12-232-3/+3
| | | | | | | | | | | | layout. :) Rename the 'EntoSA' directories to 'StaticAnalyzer'. Internally we will still use the 'ento' namespace for the analyzer engine (unless there are further sabre rattlings...). llvm-svn: 122514
* Rename headers: 'clang/GR' 'clang/EntoSA' andTed Kremenek2010-12-232-3/+3
| | | | | | update Makefile. llvm-svn: 122493
* [analyzer] Refactoring: Move checkers into lib/GR/Checkers and their own ↵Argyrios Kyrtzidis2010-12-222-1/+2
| | | | | | library, libclangGRCheckers llvm-svn: 122422
* [analyzer] Refactoring: lib/Checker -> lib/GR and libclangChecker -> ↵Argyrios Kyrtzidis2010-12-222-2/+2
| | | | | | libclangGRCore llvm-svn: 122421
* Replace all uses of PathV1::makeAbsolute with PathV2::fs::make_absolute.Michael J. Spencer2010-12-211-12/+16
| | | | llvm-svn: 122340
* Replace all uses of PathV1::get{Basename,Dirname,Suffix} with their PathV2 ↵Michael J. Spencer2010-12-181-2/+2
| | | | | | equivalents. llvm-svn: 122140
* Replace all uses of PathV1::getLast with PathV2::filename.Michael J. Spencer2010-12-181-3/+3
| | | | llvm-svn: 122117
* MemoryBuffer API update.Michael J. Spencer2010-12-162-7/+5
| | | | llvm-svn: 121956
* Update for LLVM API change.Daniel Dunbar2010-12-161-2/+5
| | | | llvm-svn: 121950
* Fixed version of 121435.Rafael Espindola2010-12-101-3/+14
| | | | llvm-svn: 121472
* Revert my previous patch to make the valgrind bots happy.Rafael Espindola2010-12-101-14/+3
| | | | llvm-svn: 121460
* Update clang for the API changes in the cfi patch.Rafael Espindola2010-12-091-3/+14
| | | | llvm-svn: 121435
* Use error_code instead of std::string* for MemoryBuffer.Michael J. Spencer2010-12-092-2/+7
| | | | llvm-svn: 121378
* Merge System into Support.Michael J. Spencer2010-11-292-7/+7
| | | | llvm-svn: 120297
* getNumErrors() -> hasErrorOccurred()Argyrios Kyrtzidis2010-11-191-1/+1
| | | | llvm-svn: 119765
* Refactoring of Diagnostic class.Argyrios Kyrtzidis2010-11-183-5/+8
| | | | | | | | | | | -Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class. -DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units. -The rest of the state in Diagnostic object is considered related and tied to one translation unit. -Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a SourceLocation instead of a FullSourceLoc. -Reflect the changes to various interfaces. llvm-svn: 119730
* Turns out that we may end up calling dladdr on GetExecutablePath, give it ↵Benjamin Kramer2010-10-301-2/+1
| | | | | | external linkage to make sure the lookup works on all platforms. llvm-svn: 117813
* This function doesn't need external linkage either.Benjamin Kramer2010-10-301-1/+2
| | | | llvm-svn: 117786
* Do not use absolute path on the clang++ symlink.Oscar Fuentes2010-10-181-3/+5
| | | | | | Based on a patch by Ryuta Suzuki! llvm-svn: 116695
* Use a script for creating the clang++ executable.Oscar Fuentes2010-10-172-2/+19
| | | | | | | The previous method used the DESTDIR environment variable at configure time, but sometimes it is only available at install time. See PR8397. llvm-svn: 116689
* Call InitSections when assembling. This makes clang's output match that ofRafael Espindola2010-10-131-0/+1
| | | | | | llvm-mc. llvm-svn: 116405
* build: Add support for a CLANG_ORDER_FILE build variable to specify the path toDaniel Dunbar2010-09-161-0/+4
| | | | | | the order file to use for the clang executable. llvm-svn: 114052
* Revert "CMake: Update to use standard CMake dependency tracking facilities ↵Michael J. Spencer2010-09-131-15/+17
| | | | | | | | | | | | | instead" This reverts commit r113631 Conflicts: CMakeLists.txt lib/CodeGen/CMakeLists.txt llvm-svn: 113817
* Driver: Set TOOL_NO_EXPORTS when building a "production" compiler, we don'tDaniel Dunbar2010-09-101-0/+6
| | | | | | | | | | | | | | | | | | | | currently expect that to be useful for plugins, and this is important for startup performance: -- ddunbar@lordcrumb:tmp$ touch empty.c ddunbar@lordcrumb:tmp$ runN 100 ~/llvm.obj.64/Release/bin/clang -c empty.c name avg min med max SD total user 0.0054 0.0052 0.0054 0.0055 0.0000 0.5350 sys 0.0084 0.0090 0.0078 0.0087 0.0008 0.8390 wall 0.0149 0.0149 0.0149 0.0149 0.0003 1.4943 ddunbar@lordcrumb:tmp$ runN 100 ~/llvm.obj.64/Release/bin/clang -c empty.c name avg min med max SD total user 0.0036 0.0036 0.0036 0.0038 0.0000 0.3646 sys 0.0072 0.0071 0.0068 0.0070 0.0006 0.7158 wall 0.0123 0.0123 0.0122 0.0136 0.0003 1.2262 -- llvm-svn: 113638
* CMake: Update to use standard CMake dependency tracking facilities insteadMichael J. Spencer2010-09-101-17/+15
| | | | | | of whatever we were using before... llvm-svn: 113631
* Make "-ccc-cxx" option work on Linux.Rafael Espindola2010-09-061-1/+0
| | | | | | | | | Patch by nobled. I also took the opportunity to make the field private since now it is only ready from the outside. llvm-svn: 113138
* Straighten out target triples provided on the command lineDuncan Sands2010-08-301-1/+2
| | | | | | before using them. llvm-svn: 112468
* Move ExecuteCompilerInvocation to a new library FrontendToolPeter Collingbourne2010-08-243-4/+6
| | | | | | | | | | r110903 introduced a dependency from Frontend to every library that declared an Action by introducing Action references that previously resided in the driver in the file ExecuteCompilerInvocation.cpp. This patch moves ExecuteCompilerInvocation to a new library named FrontendTool which is intended to bear these dependencies. llvm-svn: 111873
* Another step in the process of making the parser depend on Sema:John McCall2010-08-202-3/+3
| | | | | | | | | - move DeclSpec &c into the Sema library - move ParseAST into the Parse library Reflect this change in a thousand different includes. Reflect this change in the link orders. llvm-svn: 111667
* Simplify the ownership model for DiagnosticClients, which was reallyDouglas Gregor2010-08-183-12/+13
| | | | | | | convoluted and a bit leaky. Now, the Diagnostic object owns its DiagnosticClient. llvm-svn: 111437
* Call llvm::remove_fatal_error_handler before deallocating objectsDan Gohman2010-08-182-2/+7
| | | | | | which are used by the error handling functions. llvm-svn: 111427
* Reintroduce the serialization library, with fixed dependencies.Sebastian Redl2010-08-172-3/+4
| | | | llvm-svn: 111279
* Revert Sebastian's build-breaking patch.Douglas Gregor2010-08-172-4/+3
| | | | llvm-svn: 111265
* Create a new Serialization module that contains all the PCH code, and will ↵Sebastian Redl2010-08-172-3/+4
| | | | | | contain all the module code in the future. Update the Makefiles, CMake projects and the Xcode project. I hope I did everything right for Xcode. No functionality change. llvm-svn: 111258
OpenPOWER on IntegriCloud