freebsd-nq/lib/clang
Dimitry Andric 02003216e8 On amd64, change clang's default triple to 'x86_64-unknown-freebsd9.0',
similar to what we do for binutils.  When clang's default triple starts
with 'amd64-', it does not pass a proper -target-cpu option to its
first stage.

This can lead to problems, for example when structs are memcpy'd, and
clang erroneously assumes they are 16-byte aligned.  It will then use
the 'movaps' SSE instruction to implement the copy, which results in a
bus error if the struct is really 8-byte aligned.

I encountered this issue when gcc's /usr/libexec/cc1 started crashing
with SIGBUS, after rebuilding world with clang ToT, but it also affects
the version of clang that we have in the tree.  We were just lucky until
now, apparently. :)
2011-05-22 16:32:44 +00:00
..
include Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libclanganalysis Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libclangast Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libclangbasic Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libclangcodegen Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libclangdriver Upgrade our Clang in base to r108428. 2010-07-20 17:16:57 +00:00
libclangfrontend Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libclangfrontendtool Upgrade our Clang in base to r114020, from upstream's release_28 branch. 2010-09-20 16:43:17 +00:00
libclangindex Upgrade our Clang in base to r114020, from upstream's release_28 branch. 2010-09-20 16:43:17 +00:00
libclanglex Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libclangparse Upgrade our Clang in base to r114020, from upstream's release_28 branch. 2010-09-20 16:43:17 +00:00
libclangrewrite Upgrade our Clang in base to r108428. 2010-07-20 17:16:57 +00:00
libclangsema Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libclangserialization Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libclangstaticanalyzercheckers Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libclangstaticanalyzercore Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libclangstaticanalyzerfrontend Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libllvmanalysis Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libllvmarmasmparser Upgrade our Clang in base to r114020, from upstream's release_28 branch. 2010-09-20 16:43:17 +00:00
libllvmarmcodegen Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libllvmarmdisassembler Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libllvmarminfo In all Makefiles under lib/clang, consistently use tabs instead of 2010-09-19 10:54:58 +00:00
libllvmarminstprinter Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libllvmasmparser Upgrade our Clang in base to r108428. 2010-07-20 17:16:57 +00:00
libllvmasmprinter Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libllvmbitreader Upgrade our Clang in base to r114020, from upstream's release_28 branch. 2010-09-20 16:43:17 +00:00
libllvmbitwriter Upgrade our Clang in base to r114020, from upstream's release_28 branch. 2010-09-20 16:43:17 +00:00
libllvmcodegen Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libllvmcore Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libllvminstcombine In all Makefiles under lib/clang, consistently use tabs instead of 2010-09-19 10:54:58 +00:00
libllvminstrumentation Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libllvmipa Upgrade our Clang in base to r108428. 2010-07-20 17:16:57 +00:00
libllvmipo Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libllvmmc Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libllvmmcparser Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libllvmmipscodegen Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libllvmmipsinfo In all Makefiles under lib/clang, consistently use tabs instead of 2010-09-19 10:54:58 +00:00
libllvmpowerpccodegen Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libllvmpowerpcinfo In all Makefiles under lib/clang, consistently use tabs instead of 2010-09-19 10:54:58 +00:00
libllvmpowerpcinstprinter Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libllvmscalaropts Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libllvmselectiondag Upgrade our Clang in base to r108428. 2010-07-20 17:16:57 +00:00
libllvmsupport Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libllvmtarget Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libllvmtransformutils Upgrade our Clang in base to r114020, from upstream's release_28 branch. 2010-09-20 16:43:17 +00:00
libllvmx86asmparser In all Makefiles under lib/clang, consistently use tabs instead of 2010-09-19 10:54:58 +00:00
libllvmx86codegen Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
libllvmx86disassembler Upgrade our Clang in base to r114020, from upstream's release_28 branch. 2010-09-20 16:43:17 +00:00
libllvmx86info In all Makefiles under lib/clang, consistently use tabs instead of 2010-09-19 10:54:58 +00:00
libllvmx86instprinter Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
libllvmx86utils Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
clang.build.mk On amd64, change clang's default triple to 'x86_64-unknown-freebsd9.0', 2011-05-22 16:32:44 +00:00
clang.lib.mk
Makefile Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00