| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html
"This is the way [autoconf] ends
Not with a bang but a whimper."
-T.S. Eliot
Reviewers: chandlerc, grosbach, bob.wilson, echristo
Subscribers: klimek, cfe-commits
Differential Revision: http://reviews.llvm.org/D16472
llvm-svn: 258862
|
|
|
|
| |
llvm-svn: 218942
|
|
|
|
| |
llvm-svn: 217168
|
|
|
|
|
|
|
| |
Replaced 'jit' link component with 'mcjit'.
Updated the required libraries.
llvm-svn: 217033
|
|
|
|
|
|
| |
This reinstates r215113.
llvm-svn: 216986
|
|
|
|
|
|
|
| |
Returning a std::unique_ptr is more constrained. Thanks to David Blaikie for the
suggestion.
llvm-svn: 215979
|
|
|
|
| |
llvm-svn: 215968
|
|
|
|
|
|
| |
This reverts commit 215113 to match the reversion in llvm.
llvm-svn: 215156
|
|
|
|
| |
llvm-svn: 215113
|
|
|
|
|
|
| |
We don't support loading COFF files yet.
llvm-svn: 213893
|
|
|
|
| |
llvm-svn: 213881
|
|
|
|
| |
llvm-svn: 213879
|
|
|
|
| |
llvm-svn: 213869
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The rewrite facility's footprint is small so it's not worth going to these
lengths to support disabling at configure time, particularly since key compiler
features now depend on it.
Meanwhile the Objective-C rewriters have been moved under the
ENABLE_CLANG_ARCMT umbrella for now as they're comparatively heavy and still
potentially worth excluding from lightweight builds.
Tests are now passing with any combination of feature flags. The flags
historically haven't been tested by LLVM's build servers so caveat emptor.
llvm-svn: 213171
|
|
|
|
|
|
| |
I checked this with Release+Asserts on x86_64-mingw32. Please restore partially if this were overkill.
llvm-svn: 213064
|
|
|
|
|
|
|
|
|
|
|
|
| |
This flag is set by most other tools and avoids extra stat() calls. The
frontend will diagnose anyway as it performs the check atomically while opening
files at point of use.
We could probably make Driver::CheckInputsExist default to false and only
enable it in the main 'clang' binary, or even better only perform the checks if
we know the tool is external but that needs more thought.
llvm-svn: 212585
|
|
|
|
|
|
|
|
|
|
| |
Update the strategy in r212083 to try JIT first and otherwise fall back to the
interpreter. This gives the best of both worlds and still builds fine with no
targets enabled.
Requires supporting changes from LLVM r212086.
llvm-svn: 212087
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes the build when no targets are selected, or no native target is built.
This also better matches up with the description/title of the example and
demonstrates how clang can be used to run C++ on constrained environments
without file IO or executable memory permissions (e.g. iOS apps).
A comment is added explaining how to extend the demo with JIT support as
needed.
llvm-svn: 212083
|
|
|
|
|
|
|
|
|
|
|
|
| |
All callers were passing in "a.out" or garbage so a sensible default works fine
here as a cleanup.
This also brings about the possibility of adapting the value based on the
driver's compatibility mode in future.
The setting can still be changed via Driver::DefaultImageName as needed.
llvm-svn: 208926
|
|
|
|
| |
llvm-svn: 203390
|
|
|
|
| |
llvm-svn: 203389
|
|
|
|
|
|
| |
Replace OwningArrayPtr with std::unique_ptr<T[]>.
llvm-svn: 203388
|
|
|
|
|
|
| |
CMakeLists.txt.
llvm-svn: 196916
|
|
|
|
| |
llvm-svn: 196915
|
|
|
|
| |
llvm-svn: 193032
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves the code to Job.cpp, which seems like a more natural fit,
and replaces the "is this a JobList? is this a Command?" logic with
a virtual function call.
It also removes the code duplication between PrintJob and
PrintDiagnosticJob and simplifies the code a little.
There's no functionality change here, except that the Executable is
now always printed within quotes, whereas it would previously not be
quoted in crash reports, which I think was a bug.
Differential Revision: http://llvm-reviews.chandlerc.com/D1653
llvm-svn: 190620
|
|
|
|
| |
llvm-svn: 184945
|
|
|
|
| |
llvm-svn: 184915
|
|
|
|
| |
llvm-svn: 184090
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The big changes are:
- Deleting Driver/(Arg|Opt)*
- Rewriting includes to llvm/Option/ and re-sorting
- 'using namespace llvm::opt' in clang::driver
- Fixing the autoconf build by adding option everywhere
As discussed in the review, this change includes using directives in
header files. I'll make follow up changes to remove those in favor of
name specifiers.
Reviewers: espindola
Differential Revision: http://llvm-reviews.chandlerc.com/D975
llvm-svn: 183989
|
|
|
|
|
|
| |
line and the library dependencies to reflect this.
llvm-svn: 177972
|
|
|
|
|
|
|
| |
Also, it was the only reason that `argc` and `argv` were being passed
into createDiagnostics, so remove those parameters and clean up callers.
llvm-svn: 172945
|
|
|
|
| |
llvm-svn: 172664
|
|
|
|
|
|
| |
brought into 'clang' namespace by clang/Basic/LLVM.h
llvm-svn: 172323
|
|
|
|
|
|
|
|
| |
reflect the migration in r171366.
Re-sort the #include lines to reflect the new paths.
llvm-svn: 171369
|
|
|
|
| |
llvm-svn: 169241
|
|
|
|
| |
llvm-svn: 168705
|
|
|
|
| |
llvm-svn: 166510
|
|
|
|
|
|
|
| |
This is similar to how we divide up the StaticAnalyzer libraries to separate
core functionality to what is clearly associated with Frontend actions.
llvm-svn: 163050
|
|
|
|
|
|
|
|
|
| |
express library-level dependencies within Clang.
This is no more verbose really, and plays nicer with the rest of the
CMake facilities. It should also have no change in functionality.
llvm-svn: 158888
|
|
|
|
| |
llvm-svn: 154674
|
|
|
|
| |
llvm-svn: 153167
|
|
|
|
|
|
|
| |
The class name is long enough without the llvm:: added.
Also bring in RefCountedBase and RefCountedBaseVPTR.
llvm-svn: 150958
|
|
|
|
|
|
| |
More cleanup after r149799.
llvm-svn: 150380
|
|
|
|
|
|
| |
More cleanup after r149798.
llvm-svn: 150379
|
|
|
|
| |
llvm-svn: 147195
|
|
|
|
| |
llvm-svn: 143503
|
|
|
|
|
|
|
| |
-mlink-bitcode-file flag), and more generally llvm::Modules, before
running optimisations.
llvm-svn: 143314
|
|
|
|
|
|
| |
Windows. Patch by Dean Pavlekovic.
llvm-svn: 141324
|
|
|
|
|
|
|
| |
This is old leftover cruft from the days when C++ was not yet ready
for prime time.
llvm-svn: 141063
|