Reduced & modified from a crasher @aemerson found in spec2k6/403.gcc when I landed https://reviews.llvm.org/D102452
I'm not sure if this ought to be folded into getUnderlyingObjects, or FindDebugAddrUses instead.
Paths
| Differential D102935
[Remarks] Look through inttoptr/ptrtoint for -ftrivial-auto-var-init remarks. ClosedPublic Authored by jroelofs on May 21 2021, 10:57 AM.
Details Summary Reduced & modified from a crasher @aemerson found in spec2k6/403.gcc when I landed https://reviews.llvm.org/D102452 I'm not sure if this ought to be folded into getUnderlyingObjects, or FindDebugAddrUses instead.
Diff Detail
Event Timelinejroelofs retitled this revision from [Remarks] Fix crash when inspecting debug info for -ftrivial-auto-var-init remarks to [Remarks] Look through inttoptr/ptrtoint for -ftrivial-auto-var-init remarks.. Comment ActionsSide-step the issue by using the other getUnderlyingOjbects api. jroelofs added a child revision: D102452: [Remarks] Add analysis remarks for memset/memcpy/memmove lengths.May 21 2021, 2:55 PM This revision is now accepted and ready to land.May 21 2021, 11:09 PM Closed by commit rG694068d0db43: [Remarks] Look through inttoptr/ptrtoint for -ftrivial-auto-var-init remarks. (authored by jroelofs). · Explain WhyMay 24 2021, 9:23 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 347423 llvm/lib/Transforms/Utils/AutoInitRemark.cpp
llvm/test/Transforms/Util/trivial-auto-var-init-crash-20210521.ll
llvm/test/Transforms/Util/trivial-auto-var-init-store.ll
|