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.
Details
Details
Diff Detail
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.