[PATCH] Pass a SourceLocation down to ubsan's "load_invalid_value" handler.
Nick Lewycky
nlewycky at google.com
Tue Oct 1 15:12:51 PDT 2013
Hi rsmith,
This patch threads through a SourceLocation when scalars are loaded / undergo lvalue-to-rvalue conversion into EmitCheck for "load_invalid_value".
The change to compiler-rt is not included here.
http://llvm-reviews.chandlerc.com/D1801
Files:
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CGExprComplex.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGAtomic.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGException.cpp
lib/CodeGen/CGCall.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1801.1.patch
Type: text/x-patch
Size: 48370 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131001/53e2f63d/attachment.bin>
More information about the cfe-commits
mailing list