This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Ubsan missed source location fix for constructor type mismatch checking
Needs ReviewPublic

Authored by lenykholodov on Jun 3 2015, 9:52 AM.

Details

Reviewers
rsmith
Summary

When clang generates ubsan_handle_type_mismatch call for constructor call, it uses zero filled source location. This is not correct because in runtime ubsan_handle_type_mismatch receives empty location and can't warn with readable message. The patch fixes this case.

Diff Detail

Repository
rL LLVM

Event Timeline

lenykholodov retitled this revision from to [CodeGen] Ubsan missed source location fix for constructor type mismatch checking.
lenykholodov updated this object.
lenykholodov edited the test plan for this revision. (Show Details)
lenykholodov added a reviewer: rsmith.
lenykholodov set the repository for this revision to rL LLVM.
lenykholodov added a subscriber: Unknown Object (MLST).