| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
Put the logic for deciding the default name for gcc/g++
in the only place that actually cares about it.
This also pushes an ifdef out of the generic driver code
to a little further down, when the target is actually known.
Hopefully it can be changed into just a runtime check
in the future.
llvm-svn: 129212
|
| |
|
|
|
|
|
| |
existing CC_PRINT_OPTIONS and CC_PRINT_HEADERS, which can be used to
transparently capture the compiler diagnostics from a build.
llvm-svn: 129082
|
| |
|
|
|
|
|
|
| |
dependency cycle
between libFrontend and libDriver.
llvm-svn: 128852
|
| |
|
|
|
|
| |
CompilerInvocation from command-line args.
llvm-svn: 128848
|
| |
|
|
| |
llvm-svn: 128292
|
| |
|
|
| |
llvm-svn: 128142
|
| |
|
|
|
|
|
| |
Drop program paths on NetBSD (unused). Only include lib dir, if
-nostdlib is absent. Use = to allow --sysroot to work.
llvm-svn: 127995
|
| |
|
|
|
|
|
| |
and DragonFly. Use the --sysroot= form for Linux. Fix handling of =
prefix for -B.
llvm-svn: 127994
|
| |
|
|
| |
llvm-svn: 127902
|
| |
|
|
| |
llvm-svn: 127879
|
| |
|
|
| |
llvm-svn: 127769
|
| |
|
|
|
|
|
|
| |
Pass down the correct C->getArgs, but keep it with the original
DerivedArgList type. Slightly adjust the MakeIndex call for the
different base type. This unbreaks the handling of --no-mangle on Darwin.
llvm-svn: 127142
|
| |
|
|
| |
llvm-svn: 127139
|
| |
|
|
|
|
|
| |
input is specified, use stdin implicitly. Based on a patch from
Roman Divacky.
llvm-svn: 127137
|
| |
|
|
|
|
|
|
| |
that at cc1 level we will always have normalized triple and thus can
provide necessary default based on e.g. environment value (e.g. for
"arm-eabi" triple, etc.)
llvm-svn: 127087
|
| |
|
|
|
|
| |
No one uses *-mingw64. mingw-w64 is represented as {i686|x86_64}-w64-mingw32.
llvm-svn: 125742
|
| |
|
|
| |
llvm-svn: 125111
|
| |
|
|
| |
llvm-svn: 124825
|
| |
|
|
|
|
|
| |
CC_PRINT_OPTIONS and can be used to get some out-of-band information on header
usage from a build.
llvm-svn: 124751
|
| |
|
|
| |
llvm-svn: 124736
|
| |
|
|
|
|
| |
- See comment for why.
llvm-svn: 123296
|
| |
|
|
| |
llvm-svn: 123150
|
| |
|
|
|
|
| |
equivalents.
llvm-svn: 122140
|
| |
|
|
| |
llvm-svn: 122117
|
| |
|
|
| |
llvm-svn: 122096
|
| |
|
|
| |
llvm-svn: 122088
|
| |
|
|
| |
llvm-svn: 122087
|
| |
|
|
|
|
| |
that match gcc versions. Eew.
llvm-svn: 122080
|
| |
|
|
| |
llvm-svn: 121284
|
| |
|
|
| |
llvm-svn: 120297
|
| |
|
|
| |
llvm-svn: 119746
|
| |
|
|
|
|
|
|
|
|
|
| |
-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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When -working-directory is passed in command line, file paths are resolved relative to the specified directory.
This helps both when using libclang (where we can't require the user to actually change the working directory)
and to help reproduce test cases when the reproduction work comes along.
--FileSystemOptions is introduced which controls how file system operations are performed (currently it just contains
the working directory value if set).
--FileSystemOptions are passed around to various interfaces that perform file operations.
--Opening & reading the content of files should be done only through FileManager. This is useful in general since
file operations will be abstracted in the future for the reproduction mechanism.
FileSystemOptions is independent of FileManager so that we can have multiple translation units sharing the same
FileManager but with different FileSystemOptions.
Addresses rdar://8583824.
llvm-svn: 118203
|
| |
|
|
|
|
|
|
| |
'../lib/clang/<version>'. Actually use '..' rather than removing the trailing
component to correctly handle paths containing '.' or symlinks in the presence
of -no-canonical-prefixes, etc. This shouldn't change any existing behavior.
llvm-svn: 116803
|
| |
|
|
| |
llvm-svn: 116183
|
| |
|
|
| |
llvm-svn: 114713
|
| |
|
|
| |
llvm-svn: 114712
|
| |
|
|
| |
llvm-svn: 114711
|
| |
|
|
|
|
|
|
|
| |
Rewrite linker arguments to use libclang_rt.cc_kext.a
instead of gcc-specific libcc_kext.a
Resolves Radar 7808495
llvm-svn: 114193
|
| |
|
|
| |
llvm-svn: 114155
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-lstdc++. This is the best gross solution for a gross problem.
This issue is that historically, GCC has add -L options to its internally
library directories. This has allowed users and platforms to end up depending on
the layout of GCC's internal library directories.
We want to correct this mistake by eliminating that -L, but this means that
existing libraries which are in the GCC lib dir won't be found. We are going to
handle this by treating those -l names as "reserved", and requiring toolchains
to know how to add the right full path to the reserved library.
The immediately side effect of this is that users trying to use -L to find their
own -lstdc++ will need to start using -nostdlib (which is a good idea
anyway). Another side effect is that -stdlib=libc++ -lstdc++ will now do the
"right" thing, for curious definitions of right.
llvm-svn: 114144
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
non-obvious.
llvm-svn: 111838
|
| |
|
|
| |
llvm-svn: 111748
|
| |
|
|
|
|
| |
reported as unused.
llvm-svn: 111310
|
| |
|
|
|
|
|
|
| |
if detected.
- This is a hack, we really want the linker version at execution time, but we
don't have any infrastructure for getting that. Yet.
llvm-svn: 110886
|
| |
|
|
|
|
| |
now.
llvm-svn: 110027
|
| |
|
|
|
|
| |
ToolChain::LookupTypeForExtension.
llvm-svn: 110024
|
| |
|
|
|
|
|
| |
avoided this originally to enforce that the driver actions aren't toolchain
dependent, but it isn't worth the cumbersone additional hostinfo split.
llvm-svn: 110023
|
| |
|
|
|
|
| |
don't have to deal with nested jobs.
llvm-svn: 110015
|