llvm-project/llvm/lib/Transforms
Mikael Holmen 886edf8f8a [GlobalOpt] Emit fragments using field offsets from struct layout
Summary:
When creating the debug fragments for a SRA'd struct, use the fields'
offsets, taken from the struct layout, as the offsets for the resulting
fragments. This fixes an issue where GlobalOpt would emit fragments with
incorrect offsets for padded fields.

This should solve PR36016.

Patch by David Stenberg.

Reviewers: aprantl

Reviewed By: aprantl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D42489

llvm-svn: 323411
2018-01-25 10:09:26 +00:00
..
Coroutines Make internal/private GVs implicitly dso_local. 2018-01-11 22:15:05 +00:00
Hello Add auto-exporting of symbols from tools so that plugins work on Windows 2016-05-26 11:16:43 +00:00
IPO [GlobalOpt] Emit fragments using field offsets from struct layout 2018-01-25 10:09:26 +00:00
InstCombine [InstCombine] (X << Y) / X -> 1 << Y 2018-01-21 16:14:51 +00:00
Instrumentation asan: allow inline instrumentation for the kernel 2018-01-22 19:07:11 +00:00
ObjCARC [ObjCARC] Do not turn a call to @objc_autoreleaseReturnValue into a call 2018-01-19 23:51:13 +00:00
Scalar Revert r321751, "StructurizeCFG: Fix broken backedge detection" 2018-01-24 18:02:05 +00:00
Utils [NFC] fix trivial typos in comments 2018-01-19 10:55:29 +00:00
Vectorize Revert "[SLP] Fix for PR32086: Count InsertElementInstr of the same elements as shuffle." 2018-01-24 18:36:51 +00:00
CMakeLists.txt Reverted 323321. 2018-01-24 14:48:49 +00:00
LLVMBuild.txt Reverted 323321. 2018-01-24 14:48:49 +00:00