| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
lib dir and move all the libraries into it. This follows the main
llvm tree, and allows the libraries to be built in parallel. The
top level now enforces that all the libs are built before Driver,
but we don't care what order the libs are built in. This speeds
up parallel builds, particularly incremental ones.
llvm-svn: 48402
|
|
|
|
| |
llvm-svn: 48185
|
|
|
|
| |
llvm-svn: 48153
|
|
|
|
| |
llvm-svn: 48091
|
|
|
|
| |
llvm-svn: 48052
|
|
|
|
|
|
| |
which is simpler to use and provide.
llvm-svn: 48051
|
|
|
|
| |
llvm-svn: 48049
|
|
|
|
| |
llvm-svn: 48048
|
|
|
|
| |
llvm-svn: 47954
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
theoretically useful, but not useful in practice. It adds a bunch of
complexity, and not much value. It's best to nuke it. One big advantage
is that it means the target interfaces will soon lose their SLoc arguments
and target queries can never emit diagnostics anymore (yay). Removing this
also simplifies some of the core preprocessor which should make it slightly
faster.
Ted, I didn't simplify TripleProcessor, which can now have at most one
triple, and can probably just be removed. Please poke at it when you have
time.
llvm-svn: 47930
|
|
|
|
| |
llvm-svn: 47925
|
|
|
|
|
|
|
| |
TargetInfo::AddSecondaryTarget is now private, as it is only used during
object construction.
llvm-svn: 47891
|
|
|
|
|
|
| |
Fix regression in Applications/ClamAV/clamscan.
llvm-svn: 47673
|
|
|
|
| |
llvm-svn: 47609
|
|
|
|
|
|
|
|
| |
since inodes are bogus abstraction on that platform.
Patch by Argiris Kirtzidis!
llvm-svn: 47535
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SolarisSparcV8TargetInfo to be able
to handle "sparc-" triple prefixes.
Please be aware that this is a minimal
kludge, that pretty much duplicates
the features of DarwinPowerPCTargetInfo,
and also incorrectly uses stuff from
the PPC namespace.
But in result "make test" now passes
a lot of tests, the notable exceptions
being the objc rewrite tests and
mandel.c.
llvm-svn: 47436
|
|
|
|
|
|
| |
restrict isn't.
llvm-svn: 47316
|
|
|
|
| |
llvm-svn: 47270
|
|
|
|
| |
llvm-svn: 47234
|
|
|
|
| |
llvm-svn: 46784
|
|
|
|
| |
llvm-svn: 46780
|
|
|
|
|
|
|
|
| |
they are
*mapped* onto errors.
llvm-svn: 46686
|
|
|
|
| |
llvm-svn: 46685
|
|
|
|
| |
llvm-svn: 46330
|
|
|
|
|
|
| |
1.10.2) compilation.
llvm-svn: 46196
|
|
|
|
|
|
|
|
| |
Do not use std::cerr; use llvm::cerr instead.
Patch provided by Sam Bishop!
llvm-svn: 45880
|
|
|
|
| |
llvm-svn: 45845
|
|
|
|
| |
llvm-svn: 45412
|
|
|
|
|
|
| |
discussion of this change.
llvm-svn: 45410
|
|
|
|
|
|
| |
in SourceManager.
llvm-svn: 45225
|
|
|
|
|
|
| |
ADT storing FileEntry's in FileManager from a map to a set.
llvm-svn: 45184
|
|
|
|
|
|
| |
to serialized source files.
llvm-svn: 45183
|
|
|
|
|
|
| |
accessors to FileEntry to query these values.
llvm-svn: 45171
|
|
|
|
|
|
|
| |
deserialization. Eventually this should be replaced with a lazy-reading
mechanism that only reads source files when they are needed by clients.
llvm-svn: 45007
|
|
|
|
| |
llvm-svn: 44983
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved all clients of Diagnostics to use FullSourceLoc instead of SourceLocation.
Added many utility methods to FullSourceLoc to provide shorthand for:
FullLoc.getManager().someMethod(FullLoc.getLocation());
instead we have:
FullLoc.someMethod();
Modified TextDiagnostics (and related classes) to use this short-hand.
llvm-svn: 44957
|
|
|
|
|
|
|
|
| |
and into the "Basic" library. TargetInfo objects are now
constructed from triples by calling the static method
TargetInfo::CreateTargetInfo.
llvm-svn: 44940
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SourceManager*'s instead of SourceManager&'s. This allows the client specify a
NULL SourceManager when using a default constructed SourceLocation. Thus the
SourceManager can be NULL when the SourceLocation's isValid() == false.
The interface to most clients of Diagnostic remains the same.
Diagnostic::Report() is overload to either accept a SourceLocation and a
SourceManager&, or neither. Thus clients that do not have a SourceManager
cannot specify a SourceLocation.
Modified TextDiagnostics* to use this new interface.
Modified the driver to not passed in SourceManager when warning about "-I-".
llvm-svn: 44887
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SourceManager is passed by reference, allowing the SourceManager to be
associated with a specific translation unit, and not the entire execution
of the driver.
Modified all users of Diagnostics to comply with this new interface.
Integrated SourceManager as a member variable of TargetInfo. TargetInfo will
eventually be associated with a single translation unit (just like
SourceManager).
Made the SourceManager reference in ASTContext private. Provided accessor
getSourceManager() for clients to use instead. Modified clients to comply with
new interface.
llvm-svn: 44878
|
|
|
|
| |
llvm-svn: 44797
|
|
|
|
| |
llvm-svn: 44712
|
|
|
|
| |
llvm-svn: 44635
|
|
|
|
| |
llvm-svn: 44624
|
|
|
|
|
|
|
| |
Now sourcemanager deserializer automatically self-registers itself with
the deserializer.
llvm-svn: 44591
|
|
|
|
| |
llvm-svn: 44590
|
|
|
|
|
|
| |
now be lazily recreated upon deserialization.
llvm-svn: 44585
|
|
|
|
| |
llvm-svn: 44578
|
|
|
|
| |
llvm-svn: 44573
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
replaces the functionality previously provided by just "-arch" (which is still
supported but has different semantics).
The new behavior is as follows:
(1) If the user does not specify -triple:
(a) If no -arch options are specified, the target triple used is the host
triple (in llvm/Config/config.h).
(b) If one or more -arch's are specified (and no -triple), then there is
one triple for each -arch, where the specified arch is substituted
for the arch in the host triple. Example:
host triple = i686-apple-darwin9
command: clang -arch ppc -arch ppc64 ...
triples used: ppc-apple-darwin9 ppc64-apple-darwin9
(2) The user does specify a -triple (only one allowed):
(a) If no -arch options are specified, the triple specified by -triple
is used. E.g clang -triple i686-apple-darwin9
(b) If one or more -arch options are specified, then the triple specified
by -triple is used as the primary target, and the arch's specified
by -arch are used to create secondary targets. For example:
clang -triple i686-apple-darwin9 -arch ppc -arch ppc64
has the following targets:
i686-apple-darwin9 (primary target)
ppc-apple-darwin9
ppc64-apple-darwin9
Other changes related to the changes to the driver:
- TargetInfoImpl now includes the triple string.
- TargetInfo::getTargetTriple returns the triple for its primary target.
- test case test/Parser/portability.c has been updated because "-arch linux" is
no longer valid ("linux" is an OS, not an arch); instead we use a bogus
architecture "bogusW16W16" where WCharWidth=16 and WCharAlign=16.
llvm-svn: 44551
|
|
|
|
|
|
|
|
|
|
|
|
| |
rewriter emit this error if it fails to rewrite an @encode:
t.m:17:9: error: rewriter could not replace sub-expression due to macros
c = ENC(char *)[2] + 4;
^~~~~~~~~~~
... where ENC is: #define ENC @encode
llvm-svn: 44498
|