[DWARF] Make dwarf::getUnitLengthFieldByteSize() constexpr. NFC.
authorIgor Kudrin <ikudrin@accesssoftek.com>
Mon, 20 Jan 2020 04:37:37 +0000 (11:37 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Thu, 23 Jan 2020 05:41:05 +0000 (12:41 +0700)
commitd6f39cfed06c027d653839adc5b20cee1d79f51d
treed37e4f3d7a0dab53fb584c95e58658ad8878b9ec
parentdcff3961c2d0872074e405d3fb06b28259bb652f
[DWARF] Make dwarf::getUnitLengthFieldByteSize() constexpr. NFC.

This will help make some expressions in upcoming patches constexpr.

Differential Revision: https://reviews.llvm.org/D73036
llvm/include/llvm/BinaryFormat/Dwarf.h