| 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
|
| |
|
|
|
|
| |
options.
llvm-svn: 129153
|
| |
|
|
| |
llvm-svn: 129145
|
| |
|
|
| |
llvm-svn: 129141
|
| |
|
|
| |
llvm-svn: 129108
|
| |
|
|
|
|
|
| |
existing CC_PRINT_OPTIONS and CC_PRINT_HEADERS, which can be used to
transparently capture the compiler diagnostics from a build.
llvm-svn: 129082
|
| |
|
|
|
|
| |
Patch by Bobby Powers
llvm-svn: 129014
|
| |
|
|
| |
llvm-svn: 128944
|
| |
|
|
|
|
|
|
| |
dependency cycle
between libFrontend and libDriver.
llvm-svn: 128852
|
| |
|
|
|
|
| |
CompilerInvocation from command-line args.
llvm-svn: 128848
|
| |
|
|
| |
llvm-svn: 128738
|
| |
|
|
| |
llvm-svn: 128641
|
| |
|
|
| |
llvm-svn: 128433
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These stacks are often less important than those on primary diagnostics.
As the number of notes grows, this becomes increasingly important. The
include stack printing is clever and doesn't print stacks for adjacent
diagnostics from the same file, but when a note is in between a sequence
of errors in a header file, and the notes all refer to some other file,
we end up getting a worst-case ping-pong of include stacks that take up
a great deal of vertical space.
Still, for now, the default behavior isn't changed. We can evaluate user
feedback with the flag.
Patch by Richard Trieu, a couple of style tweaks from me.
llvm-svn: 128371
|
| |
|
|
|
|
|
|
|
| |
default for -fwrapv if that flag isn't specified explicitly. We always
prefer an explict setting of -fwrapv when present. Also adds support for
-fno-wrapv to allow disabling -fwrapv even when -fno-strict-overflow is
passed.
llvm-svn: 128353
|
| |
|
|
| |
llvm-svn: 128292
|
| |
|
|
| |
llvm-svn: 128187
|
| |
|
|
| |
llvm-svn: 128142
|
| |
|
|
|
|
|
|
| |
line options, instead of leveraging the blanket -mllvm option.
- This allows using the frontend itself without requiring the backend have
those options available (i.e., if the target wasn't built).
llvm-svn: 128087
|
| |
|
|
| |
llvm-svn: 128018
|
| |
|
|
|
|
|
|
| |
program and fallback to plain version otherwise. Use this for the NetBSD
target to make it try e.g. i486--netbsdelf-as and -ld for target
i486--netbsdelf.
llvm-svn: 127996
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
- We don't really support the majority of the horrible -traditional-cpp
behavior, but it is unlikely that we ever will either. This allows us to
start trying to use clang as a /usr/bin/cpp replacement and see what pieces
of -traditional-cpp mode people actually care about.
llvm-svn: 127911
|
| |
|
|
|
|
| |
don't support the ABI yet.
llvm-svn: 127903
|
| |
|
|
| |
llvm-svn: 127902
|
| |
|
|
| |
llvm-svn: 127897
|
| |
|
|
| |
llvm-svn: 127896
|
| |
|
|
| |
llvm-svn: 127879
|
| |
|
|
|
|
|
|
| |
Issue this as an IR-gen error; it's not really worthwhile doing this
"right", i.e. in Sema, because IR gen knows a lot of tricks beyond
what the constant evaluator knows.
llvm-svn: 127854
|
| |
|
|
|
|
| |
disable Obj-C exceptions.
llvm-svn: 127836
|
| |
|
|
| |
llvm-svn: 127820
|
| |
|
|
| |
llvm-svn: 127819
|
| |
|
|
| |
llvm-svn: 127815
|
| |
|
|
|
|
| |
not being consistent at all with other parts of the GCC implementation.
llvm-svn: 127777
|
| |
|
|
| |
llvm-svn: 127769
|
| |
|
|
| |
llvm-svn: 127583
|
| |
|
|
|
|
| |
DeadStores checker into the "deadcode" group.
llvm-svn: 127531
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 127128
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 126810
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
compare it with getDriver().Dir.c_str(), since that is a pointer
comparison, not a "are these strings equal" comparison.
Instead, just compare with getDriver().Dir directly, so both sides will
get promoted to std::string, and the regular std::string comparison
operator applies.
Patch by Dimitry Andric!
llvm-svn: 126791
|
| |
|
|
| |
llvm-svn: 126767
|
| |
|
|
|
|
| |
Patch by Dimitry Andric!
llvm-svn: 126763
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
ToolChain's FilePaths. If clang is installed as a port in /usr/local,
it is *not* supposed to use /usr/local/lib by default, for example.
Additionally, there are no clang-related executables in either
/usr/libexec, or getDriver().Dir + "/../libexec", anymore, so remove
that from the ToolChain's ProgramPaths.
Patch by Dimitry Andric!
llvm-svn: 126760
|
| |
|
|
|
|
|
|
|
|
|
| |
retrieve the library paths from the ToolChain object instead.
Copy the relevant code from linuxtools::Link::ConstructJob(), and
replace the std::string stuff with llvm::StringRef, while we're here.
Patch by Dimitry Andric!
llvm-svn: 126757
|
| |
|
|
|
|
| |
one.
llvm-svn: 126756
|