[PATCH] D11757: Propagate SourceLocations through to get a Loc on float_cast_overflow
Filipe Cabecinhas
filcab+llvm.phabricator at gmail.com
Wed Aug 5 01:08:19 PDT 2015
filcab created this revision.
filcab added reviewers: rsmith, ABataev, rjmccall.
filcab added a subscriber: cfe-commits.
float_cast_overflow is the only UBSan check without a source location attached.
This patch propagates SourceLocations where necessary to get them to the
EmitCheck() call.
http://reviews.llvm.org/D11757
Files:
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprComplex.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGen/catch-undef-behavior.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11757.31337.patch
Type: text/x-patch
Size: 30806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150805/8732b5a2/attachment-0001.bin>
More information about the cfe-commits
mailing list