[all-commits] [llvm/llvm-project] ce2631: [DWARFLinker] Set size of location expression of D...
avl-llvm via All-commits
all-commits at lists.llvm.org
Thu May 25 05:15:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ce2631d147271fb72a78e31ce36ec416b564f133
https://github.com/llvm/llvm-project/commit/ce2631d147271fb72a78e31ce36ec416b564f133
Author: Alexey Lapshin <a.v.lapshin at mail.ru>
Date: 2023-05-25 (Thu, 25 May 2023)
Changed paths:
M llvm/lib/DWARFLinker/DWARFLinker.cpp
A llvm/test/tools/dsymutil/X86/location-expression.test
Log Message:
-----------
[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
More information about the All-commits
mailing list