Age | Commit message (Collapse) | Author | Files | Lines |
|
Many thanks to @thakis for pointing this out.
That commit should have been a part of https://reviews.llvm.org/D107049
|
|
|
|
0aec49c8531bc5282b095730d34681455826bc2c
|
|
|
|
|
|
|
|
This should fix the build failure on llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast.
llvm-svn: 370151
|
|
Now that we've moved to C++14, we no longer need the llvm::make_unique
implementation from STLExtras.h. This patch is a mechanical replacement
of (hopefully) all the llvm::make_unique instances across the monorepo.
Differential revision: https://reviews.llvm.org/D66259
llvm-svn: 368942
|
|
llvm-svn: 368778
|
|
This will remove the ORCv1 deprecation warnings.
llvm-svn: 366511
|
|
to reflect the new license.
We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.
Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.
llvm-svn: 351636
|
|
introduced in rL344572.
llvm-svn: 344598
|
|
llvm-svn: 344400
|
|
Summary: This mostly re-uses code from the KaleidoscopeJIT example.
Reviewers: ddunbar, lhames
Reviewed By: lhames
Subscribers: mgrang, alexshap, mgorny, xiaobai, cfe-commits
Differential Revision: https://reviews.llvm.org/D45897
llvm-svn: 333302
|
|
Windows64.
Summary:
Getting this to work is not particularly obvious, and having it as an example should be helpful.
Portions of this could be placed into LLVM, but as a whole it seems necessary to do this a higher level.
Reviewers: lhames, mehdi_amini
Reviewed By: lhames
Subscribers: mgrang, martell, cfe-commits, mgorny
Differential Revision: https://reviews.llvm.org/D35103
llvm-svn: 327528
|
|
and CodeCompleteConsumer"
Aleksey Shlypanikov pointed out my mistake in migrating an explicit
unique_ptr to auto - I was expecting the function returned a unique_ptr,
but instead it returned a raw pointer - introducing a leak.
Thanks Aleksey!
This reapplies r291184, reverted in r291249.
llvm-svn: 291270
|
|
(should've rolled in to this revert of the CompilerInstance change in
the first place... anyway)
This reverts commit r291185.
llvm-svn: 291252
|
|
llvm-svn: 291185
|
|
llvm-svn: 218942
|
|
llvm-svn: 217168
|
|
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: 213879
|
|
llvm-svn: 213869
|
|
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
|
|
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
|
|
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
|
|
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
|