[DWARFLinker] Set size of location expression of DW_FORM_block1 properly.
This patch fixes the problem introduced by D147066. As D147066 may change the contents of location expression, it started to calculate final attribute size. This patch uses more correct way to calculate size: DIEValue::sizeOf(). Differential Revision: https://reviews.llvm.org/D151348
parent
49946df8
Please register or sign in to comment