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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D48531
[CodeGen] Provide source locations for UBSan type checks when emitting constructor calls. ClosedPublic Authored by ikudrin on Jun 24 2018, 10:04 PM.
Details Summary At the moment. when generating UBSan diagnostics for these cases, we rely on
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 24 2018, 10:18 PM Closed by commit rL335445: [CodeGen] Provide source locations for UBSan type checks when emitting… (authored by ikudrin). · Explain WhyJun 24 2018, 10:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 152626 cfe/trunk/lib/CodeGen/CGClass.cpp
cfe/trunk/lib/CodeGen/CodeGenFunction.h
cfe/trunk/test/CodeGenCXX/ubsan-ctor-srcloc.cpp
|