| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
variable to be a local variable in the only method that uses it.
llvm-svn: 176778
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sooooo many of these had incorrect or strange main module includes.
I have manually inspected all of these, and fixed the main module
include to be the nearest plausible thing I could find. If you own or
care about any of these source files, I encourage you to take some time
and check that these edits were sensible. I can't have broken anything
(I strictly added headers, and reordered them, never removed), but they
may not be the headers you'd really like to identify as containing the
API being implemented.
Many forward declarations and missing includes were added to a header
files to allow them to parse cleanly when included first. The main
module rule does in fact have its merits. =]
llvm-svn: 169131
|
|
|
|
|
|
| |
the test.
llvm-svn: 165535
|
|
|
|
| |
llvm-svn: 160479
|
|
|
|
| |
llvm-svn: 152553
|
|
|
|
| |
llvm-svn: 149999
|
|
|
|
|
|
| |
LLVM isn't an acronym anymore.
llvm-svn: 148985
|
|
|
|
| |
llvm-svn: 148738
|
|
|
|
|
|
|
|
| |
account for all enumeration values explicitly.
(This time I believe I've checked all the -Wreturn-type warnings from GCC & added the couple of llvm_unreachables necessary to silence them. If I've missed any, I'll happily fix them as soon as I know about them)
llvm-svn: 148262
|
|
|
|
| |
llvm-svn: 147608
|
|
|
|
|
|
|
|
|
|
| |
Get back getHostTriple.
For JIT compilation, use the host triple instead of the default
target: this fixes some JIT testcases that used to fail when the
compiler has been configured as a cross compiler.
llvm-svn: 147542
|
|
|
|
| |
llvm-svn: 145578
|
|
|
|
| |
llvm-svn: 143502
|
|
|
|
| |
llvm-svn: 139848
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the Support library. Now its part of the TargetRegistry, and the three
commands that care about this explicitly register this extra bit of
version information.
The set of commands which care was computed by intersecting those which
use the Support library's version string printing and those that
initialize all the registered targets in a way that produces
a meaningful list. The only odd ball out is that 'clang -cc1as -version'
no longer prints the registered targets. I don't think anyone is really
interested in that (especially as the fact that llvm-mc does so is under
a FIXME), but if someone really does want this back I'll happily apply
the same patch there.
llvm-svn: 135757
|
|
|
|
|
|
|
| |
function on the TargetRegistry. Also clean it up and use the modern LLVM
utility libraries available instead of rolling a few things manually.
llvm-svn: 135756
|
|
|
|
|
|
|
|
|
|
|
|
| |
register extra version information to be printed. This is designed to
allow those tools which link in various targets to also print those
registered targets under --version.
Currently this printing logic is embedded into the Support library
directly; a huge layering violation. This is the first step to hoisting
it out into the tools without adding lots of duplicated code.
llvm-svn: 135755
|
|
|
|
|
|
| |
consistent. Patch by Julien Lerouge.
llvm-svn: 132931
|
|
|
|
|
|
|
|
|
|
| |
comments claimed it did this, but the LHS value was actually an unused variable.
The new system considers only the '-foo' part when comparing it for typos
against flags that have values, but still look at the whole string for flags
that don't. That way, we'll still correct '-inst=combine' to '-instcombine'.
llvm-svn: 130685
|
|
|
|
| |
llvm-svn: 129002
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
developers can see if their driver changed any cl::Option's. The
current implementation isn't perfect but handles most kinds of
options. This is nice to have when decomposing the stages of
compilation and moving between different drivers. It's also a good
sanity check when comparing results produced by different command line
invocations that are expected to produce the comparable results.
Note: This is not an attempt to prolong the life of cl::Option. On the
contrary, it's a placeholder for a feature that must exist when
cl::Option is replaced by a more appropriate framework. A new
framework needs: a central option registry, dynamic name lookup,
non-global containers of option values (e.g. per-module,
per-function), *and* the ability to print options values and their defaults at
any point during compilation.
llvm-svn: 128910
|
|
|
|
| |
llvm-svn: 124124
|
|
|
|
| |
llvm-svn: 123717
|
|
|
|
| |
llvm-svn: 122116
|
|
|
|
|
|
| |
via an out parm.
llvm-svn: 121958
|
|
|
|
|
|
| |
error_code &ec. And fix clients.
llvm-svn: 121379
|
|
|
|
| |
llvm-svn: 120298
|
|
|
|
| |
llvm-svn: 119842
|
|
|
|
|
|
|
|
|
| |
anything which would mess up binary/object comparisons. Currently:
- Disables 'Built on ...' in 'foo --version'.
- Disables timestamps from being embedded into .dir files.
llvm-svn: 103423
|
|
|
|
| |
llvm-svn: 99414
|
|
|
|
|
|
|
|
| |
Also, have tools output -help-hidden rather than refer to --help-hidden,
for consistency, and likewise adjust documentation. This doesn't change
every mention of --help, only those which seemed clearly safe.
llvm-svn: 96578
|
|
|
|
| |
llvm-svn: 94746
|
|
|
|
| |
llvm-svn: 93046
|
|
|
|
| |
llvm-svn: 92646
|
|
|
|
|
|
| |
end up on the same line.
llvm-svn: 90473
|
|
|
|
|
|
| |
diagnoses this ill-formity.
llvm-svn: 89846
|
|
|
|
|
|
|
|
| |
Makes '--comma-separated val1,val2' mean the same thing as
'--comma-separated=val1,val2' (that is, 'val1' and 'val2' are not lumped
together as 'val1,val2'). Also declutters the main loop a bit.
llvm-svn: 89463
|
|
|
|
| |
llvm-svn: 89364
|
|
|
|
|
|
|
| |
of failure. The x86 target didn't like empty cpu names and broke x86 tests on
non-x86 buildbots.
llvm-svn: 89111
|
|
|
|
| |
llvm-svn: 88813
|
|
|
|
|
|
| |
Approved by Evan Cheng.
llvm-svn: 86797
|
|
|
|
|
|
| |
string at the end of the list, instead of the last comma-separated string.
llvm-svn: 83405
|
|
|
|
| |
llvm-svn: 82683
|
|
|
|
|
|
|
| |
a trivial unittest would have caught. This revision also adds the trivial
unittest.
llvm-svn: 82675
|
|
|
|
| |
llvm-svn: 82384
|
|
|
|
| |
llvm-svn: 82377
|
|
|
|
| |
llvm-svn: 82375
|
|
|
|
| |
llvm-svn: 82372
|
|
|
|
| |
llvm-svn: 82370
|
|
|
|
|
|
| |
non-sorted order, restore the sort.
llvm-svn: 82368
|