[PATCH] D30879: Distinguish between code pointer size and DataLayout::getPointerSize() in DWARF info generation

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 15:50:44 PDT 2017


echristo added a comment.

In general, I'd prefer not to use the TargetMachine for this. This is already the only point where we use the DataLayout in the TargetMachine and I'd much rather use the values in the module for getting pointer sizes.

Thoughts?


https://reviews.llvm.org/D30879





More information about the llvm-commits mailing list