diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-07-11 15:11:13 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-07-11 15:11:13 +0000 |
commit | cb17fdbe3c30e167b4a2f9c3342700967b7cf9c4 (patch) | |
tree | bde46f16dcae6eceb409329e04c9eaf0855c051a /llvm/tools/llvm-objdump/llvm-objdump.h | |
parent | 876e99bf2cf8ed3ae729d42755d3658dc5ab2b3f (diff) | |
download | bcm5719-llvm-cb17fdbe3c30e167b4a2f9c3342700967b7cf9c4.tar.gz bcm5719-llvm-cb17fdbe3c30e167b4a2f9c3342700967b7cf9c4.zip |
[ELF] - Add classof() member for ARMExidxSentinelSection.
Or code uses constructions like isa<ARMExidxSentinelSection>:
https://github.com/llvm-mirror/lld/blob/master/ELF/Writer.cpp#L1428
https://github.com/llvm-mirror/lld/blob/master/ELF/SyntheticSections.cpp#L2944
That is confusing, because without ARMExidxSentinelSection::classof()
these lines are equal to isa<SyntheticSection> and the code does not really do
the same what it expected to. I found no good way to break it though, but it is not nice.
Patch adds ARMExidxSentinelSection::classof().
llvm-svn: 336813
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.h')
0 files changed, 0 insertions, 0 deletions