[PATCH] D48531: [CodeGen] Provide source locations for UBSan type checks when emitting constructor calls.
Igor Kudrin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 24 22:04:27 PDT 2018
ikudrin created this revision.
ikudrin added reviewers: rsmith, rjmccall.
ikudrin added a project: clang.
Herald added subscribers: JDevlieghere, aprantl.
At the moment. when generating UBSan diagnostics for these cases, we rely on
the corresponding debug information, which might be absent, and, anyway,
not that accurate.
Repository:
rC Clang
https://reviews.llvm.org/D48531
Files:
lib/CodeGen/CGClass.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGenCXX/ubsan-ctor-srcloc.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48531.152625.patch
Type: text/x-patch
Size: 4042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180625/ce9f86bc/attachment-0001.bin>
More information about the cfe-commits
mailing list