summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Generic/global-sra-struct-zero-length.ll
Commit message (Collapse)AuthorAgeFilesLines
* [globalopt] Don't emit DWARF fragments for membersDavid Spickett2020-05-181-0/+69
of a struct that cover the whole struct This can happen when the rest of the members of are zero length. Following the same pattern applied to the SROA pass in: d7f6f1636d53c3e2faf55cdf20fbb44a1a149df1 Fixes: https://bugs.llvm.org/show_bug.cgi?id=45335 Differential Revision: https://reviews.llvm.org/D78720 (cherry picked from commit 3929429347d398773577b79f7fdb780d4f7ed887)
OpenPOWER on IntegriCloud