This is an archive of the discontinued LLVM Phabricator instance.

Pass a SourceLocation down to ubsan's "load_invalid_value" handler.
ClosedPublic

Authored by nlewycky on Oct 1 2013, 3:12 PM.

Details

Reviewers
rsmith
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

Event Timeline

rsmith accepted this revision.Oct 1 2013, 7:25 PM

LGTM

Eugene.Zelenko closed this revision.Oct 4 2016, 6:34 PM
Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in rL191808.