[PATCH] D11793: [compiler-rt] Add SourceLocations for float_cast_overflow data.
Filipe Cabecinhas via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 7 09:30:20 PDT 2015
filcab updated this revision to Diff 31523.
filcab added a comment.
Remove undefined behavior (unless I misread the standard) :-)
We could use __builtin_memcpy to avoid the call and get a simple "mov" instruction (on x86), but I'm not sure if that's available for all compilers we support.
Opinions?
http://reviews.llvm.org/D11793
Files:
lib/ubsan/ubsan_handlers.cc
lib/ubsan/ubsan_handlers.h
test/ubsan/TestCases/Float/cast-overflow.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11793.31523.patch
Type: text/x-patch
Size: 6891 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150807/bd1b943b/attachment.bin>
More information about the llvm-commits
mailing list