aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorGeorgii Rymar <grimar@accesssoftek.com>2020-10-14 14:46:21 +0300
committerGeorgii Rymar <grimar@accesssoftek.com>2020-10-15 11:22:02 +0300
commitd8bb30c5518054c787b4278ab5a4ab371d86defe (patch)
tree5814e30ccec7ac38949ccbbe16b5aa7168ac681d /llvm/lib/CodeGen/MachineFunction.cpp
parentc400e01c6295f45e395bdeff5e6c37bd5777aa98 (diff)
downloadllvm-d8bb30c5518054c787b4278ab5a4ab371d86defe.zip
llvm-d8bb30c5518054c787b4278ab5a4ab371d86defe.tar.gz
llvm-d8bb30c5518054c787b4278ab5a4ab371d86defe.tar.bz2
[yaml2obj] - Allow specifying no tags to create empty sections in few cases.
Currently we have a few sections that does not support specifying no keys for them. E.g. it is required that one of "Content", "Size" or "Entries" key is present. There is no reason to have this restriction. We can allow this and emit an empty section instead. This opens road for a simplification and generalization of the code in `validate()` that is discussed in the D89039 thread. Depends on D89039. Differential revision: https://reviews.llvm.org/D89391
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions