aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorGeorgii Rymar <grimar@accesssoftek.com>2020-10-06 15:48:15 +0300
committerGeorgii Rymar <grimar@accesssoftek.com>2020-10-15 11:11:41 +0300
commit400103f3d5f1f1d3e7dd02531f9db71a049ac507 (patch)
treedc26d7fc8f2bd29b351b9168b468f0da46c6e450 /llvm/lib/CodeGen/MachineFunction.cpp
parent50c9f1e11d18aa2a784a2e2f9676e7c3e356f5ad (diff)
downloadllvm-400103f3d5f1f1d3e7dd02531f9db71a049ac507.zip
llvm-400103f3d5f1f1d3e7dd02531f9db71a049ac507.tar.gz
llvm-400103f3d5f1f1d3e7dd02531f9db71a049ac507.tar.bz2
[yaml2obj/obj2yaml] - Add support of 'Size' and 'Content' keys for all sections.
Many sections either do not have a support of `Size`/`Content` or support just a one of them, e.g only `Content`. `Section` is the base class for sections. This patch adds `Content` and `Size` members to it and removes similar members from derived classes. This allows to cleanup and generalize the code and adds a support of these keys for all sections (`SHT_MIPS_ABIFLAGS` is a only exception, it requires unrelated specific changes to be done). I had to update/add many tests to test the new functionality properly. Differential revision: https://reviews.llvm.org/D89039
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions