Fix the bootstrap of CompilerRT with host compilers that don't support
authorChandler Carruth <chandlerc@gmail.com>
Sat, 13 Oct 2012 02:30:10 +0000 (02:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 13 Oct 2012 02:30:10 +0000 (02:30 +0000)
commiteea8a482183c7e20cb79d229216a78b321ec3c7f
tree6cb998e6cf5e804946ceafa409ec43c898e524ba
parentf402f78eb7c259501b0924a54e7e5d94c3b40949
Fix the bootstrap of CompilerRT with host compilers that don't support
emulating 128-bit arithmetic on 32-bit x86 targets. This should get the
bootstrap back for GCC 4.6 at least.

Suggestions on better ways to do the detection here are welcome...

llvm-svn: 165863
compiler-rt/lib/ubsan/ubsan_diag.cc
compiler-rt/lib/ubsan/ubsan_value.cc
compiler-rt/lib/ubsan/ubsan_value.h