MFC r292950:Drop the clang patch which adds recognition of 'CC' suffixes as aliasesfor --driver-mode=g++, since this was never upstreamed. For backwardscompatibility, add a wrapper shell script.
MFC 261991:Upgrade our copy of llvm/clang to 3.4 release. This version supportsall of the features in the current working draft of the upcoming C++standard, provisionally named C++1y.The code generator's performance is greatly increased, and the loopauto-vectorizer is now enabled at -Os and -O2 in addition to -O3. ThePowerPC backend has made several major improvements to code generationquality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZbackends have all seen major feature work.Release notes for llvm and clang can be found here:<http://llvm.org/releases/3.4/docs/ReleaseNotes.html><http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>MFC 262121 (by emaste):Update lldb for clang/llvm 3.4 importThis commit largely restores the lldb source to the upstream r196259snapshot with the addition of threaded inferior support and a few bugfixes.Specific upstream lldb revisions restored include: SVN git 181387 779e6ac 181703 7bef4e2 182099 b31044e 182650 f2dcf35 182683 0d91b80 183862 15c1774 183929 99447a6 184177 0b2934b 184948 4dc3761 184954 007e7bc 186990 eebd175Sponsored by: DARPA, AFRLMFC 262186 (by emaste):Fix mismerge in r262121A break statement was lost in the merge. The error had no functionalimpact, but restore it to reduce the diff against upstream.MFC 262303:Pull in r197521 from upstream clang trunk (by rdivacky): Use the integrated assembler by default on FreeBSD/ppc and ppc64.Requested by: jhibbitsMFC 262611:Pull in r196874 from upstream llvm trunk: Fix a crash that occurs when PWD is invalid. MCJIT needs to be able to run in hostile environments, even when PWD is invalid. There's no need to crash MCJIT in this case. The obvious fix is to simply leave MCContext's CompilationDir empty when PWD can't be determined. This way, MCJIT clients, and other clients that link with LLVM don't need a valid working directory. If we do want to guarantee valid CompilationDir, that should be done only for clients of getCompilationDir(). This is as simple as checking for an empty string. The only current use of getCompilationDir is EmitGenDwarfInfo, which won't conceivably run with an invalid working dir. However, in the purely hypothetically and untestable case that this happens, the AT_comp_dir will be omitted from the compilation_unit DIE.This should help fix assertions occurring with ports-mgmt/tinderbox,when it is using jails, and sometimes invalidates clang's currentworking directory.Reported by: deckeMFC 262809:Pull in r203007 from upstream clang trunk: Don't produce an alias between destructors with different calling conventions. Fixes pr19007.(Please note that is an LLVM PR identifier, not a FreeBSD one.)This should fix Firefox and/or libxul crashes (due to problems withregparm/stdcall calling conventions) on i386.Reported by: multiple users on freebsd-currentPR: bin/187103MFC 263048:Repair recognition of "CC" as an alias for the C++ compiler, since itwas silently broken by upstream for a Windows-specific use-case.Apparently some versions of CMake still rely on this archaic feature...Reported by: rakucoMFC 263049:Garbage collect the old way of adding the libstdc++ include directoriesin clang's InitHeaderSearch.cpp. This has been superseded by DavidChisnall's commit in r255321.Moreover, if libc++ is used, the libstdc++ include directories shouldnot be in the search path at all. These directories are now only usedif you pass -stdlib=libstdc++.
MFC r257109:Add clang-CC and CC to list of hints allowing clang to identify its operatingmode as c++ instead of defaulting to c for the binary names CC and clang-CC.This fixes builds that use cmake which automatically sets CXX to/usr/bin/CC by default.PR: bin/182442Approved by: re (glebius)
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Upgrade our copy of llvm/clang to trunk r178860, in preparation of theupcoming 3.3 release (branching and freezing expected in a few weeks).Preliminary release notes can be found at the usual location:<http://llvm.org/docs/ReleaseNotes.html>An MFC is planned once the actual 3.3 release is finished.
Upgrade our copy of llvm/clang to r168974, from upstream's release_32branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release iscoming soon.
Pull in r164132 from upstream llvm trunk: When creating MCAsmBackend pass the CPU string as well. In X86AsmBackend store this and use it to not emit long nops when the CPU is geode which doesnt support them. Fixes PR11212.Pull in r164133 from upstream clang trunk: Follow up on llvm r164132.This should prevent illegal instructions when building world on GeodeCPUs (e.g. Soekris).MFC after: 3 days
Upgrade our copy of llvm/clang to trunk r162107. With thanks toBenjamin Kramer and Joerg Sonnenberger for their input and fixes.
Upgrade our copy of llvm/clang to trunk r154661, in preparation of theupcoming 3.1 release (expected in a few weeks). Preliminary releasenotes can be found at: <http://llvm.org/docs/ReleaseNotes.html>MFC after: 2 weeks
Upgrade our copy of llvm/clang to r142614, from upstream's release_30branch. This brings us very close to the 3.0 release, which is expectedin a week or two.MFC after: 1 week
Upgrade our copy of llvm/clang to r135360, from upstream's trunk.
Upgrade our copy of llvm/clang to r132879, from upstream's trunk.
Upgrade our copy of llvm/clang to r130700, from upstream's trunk.
Upgrade our copy of llvm/clang to r126079, from upstream's trunk.This contains many improvements, primarily better C++ support, anintegrated assembler for x86 and support for -pg.
Remove more unneeded files and directories from contrib/llvm. Thisstill allows us to build tblgen and clang, and further reduces thefootprint in the tree.Approved by: rpaulo (mentor)
Upgrade our Clang in base to r114020, from upstream's release_28 branch.Approved-by: rpaulo (mentor)
Upgrade our Clang in base to r108428.This commit merges the latest LLVM sources from the vendor space. Italso updates the build glue to match the new sources. Clang's versionnumber is changed to match LLVM's, which means /usr/include/clang/2.0has been renamed to /usr/include/clang/2.8.Obtained from: projects/clangbsd
Import LLVM/clang from vendor stripped of docs/ test/ website/ www/ examples/in llvm/ and/or llvm/contrib/clang/ respectively.Approved by: ed (mentor)Approved by: core
Update clang to r104832.
Update clang to r103004.
Update clang to r100520.
Update clang to r100181.
Update clang to r99115.
Update clang to r98631.
Update clang to r98164.
Update clang to r97873.
Update clang to 97654.
Update clang to r96341.
Update clang to r94309.
Update clang to r93512.
Updaet clang to 92395.
Update clang to 91430.
Update clang to r90226.
Update clang to r89337.
Update clang to r89205.
Update clang to r86140.
Update clang to r86025.
Update clang to r84949.
Update clang to r84119.
Import Clang r74788.
Import Clang r74383.
Update Clang sources to r73879.
Import Clang r73340.
Import Clang r73070.
Import clang, at r72995.
Import Clang, at r72770.
Import Clang, at r72732.