[PATCH] D48408: [Debugify] Diagnose mis-sized dbg.values

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 26 06:42:43 PDT 2018


probinson added a comment.

Hm.  DataLayout is willing to report back one of three possible sizes: the size of a value; the size written by a store; and the stride of an array.  getTypeAllocSize() returns the third of these, which would include alignment padding as needed.
Is that really the value size we expect from dbg.value?


https://reviews.llvm.org/D48408





More information about the llvm-commits mailing list