aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorAlexey Lapshin <a.v.lapshin@mail.ru>2023-05-24 15:38:44 +0200
committerAlexey Lapshin <a.v.lapshin@mail.ru>2023-05-25 14:10:26 +0200
commitce2631d147271fb72a78e31ce36ec416b564f133 (patch)
tree78a47be5a42429f52675add271368ff3df34d1fc /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent49946df8211e9d36f0b3755e64b55bc28c0a4247 (diff)
downloadllvm-ce2631d147271fb72a78e31ce36ec416b564f133.zip
llvm-ce2631d147271fb72a78e31ce36ec416b564f133.tar.gz
llvm-ce2631d147271fb72a78e31ce36ec416b564f133.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions