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.
Paths
| Differential D1801
Pass a SourceLocation down to ubsan's "load_invalid_value" handler. ClosedPublic Authored by nlewycky on Oct 1 2013, 3:12 PM.
Details
Summary 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.
Diff Detail
Revision Contents
Diff 4589 lib/CodeGen/CGAtomic.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGException.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGExprComplex.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenFunction.cpp
|