a1f8ad145e
applied to our copy of llvm/clang. These can be applied in alphabetical order to a pristine llvm/clang 3.4 release source tree, to result in the same version used in FreeBSD. This is intended to clearly document all the changes until now, which mostly consist of cherry pickings from the respective upstream trunks, plus a number of hand-written FreeBSD-specific ones. Hopefully those can eventually be cleaned up and sent upstream too. MFC after: 1 week X-MFC-With: r263313
20 lines
888 B
Diff
20 lines
888 B
Diff
Pull in r198312 from upstream clang trunk (by Roman Divacky):
|
|
|
|
Remove a tab that snuck in.
|
|
|
|
Introduced here: http://svn.freebsd.org/changeset/base/262262
|
|
|
|
Index: tools/clang/lib/Driver/Tools.cpp
|
|
===================================================================
|
|
--- tools/clang/lib/Driver/Tools.cpp
|
|
+++ tools/clang/lib/Driver/Tools.cpp
|
|
@@ -5786,7 +5786,7 @@ void freebsd::Assemble::ConstructJob(Compilation &
|
|
CmdArgs.push_back("-matpcs");
|
|
}
|
|
} else if (getToolChain().getArch() == llvm::Triple::sparc ||
|
|
- getToolChain().getArch() == llvm::Triple::sparcv9) {
|
|
+ getToolChain().getArch() == llvm::Triple::sparcv9) {
|
|
Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC,
|
|
options::OPT_fpic, options::OPT_fno_pic,
|
|
options::OPT_fPIE, options::OPT_fno_PIE,
|