diff options
author | Peter Smith <peter.smith@linaro.org> | 2019-12-09 11:07:54 +0000 |
---|---|---|
committer | Peter Smith <peter.smith@linaro.org> | 2019-12-11 14:09:15 +0000 |
commit | 247b2ce11cf0b9efeb3c1b0394dcc87ccab7be41 (patch) | |
tree | f48a74723b6bc590c6972ff7214c3c5bf2ca9951 /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp | |
parent | c7738cca7efda9d1a78569b69ba4ac735c0f2212 (diff) | |
download | bcm5719-llvm-247b2ce11cf0b9efeb3c1b0394dcc87ccab7be41.tar.gz bcm5719-llvm-247b2ce11cf0b9efeb3c1b0394dcc87ccab7be41.zip |
[LLD][ELF][AArch64][ARM] Add missing classof to patch sections.
The code to insert patch section merges them with a comparison function that
uses logic of the form:
return (isa<PatchSection>(a) && !isa<PatchSection>(b));
If the PatchSections don't implement classof this check fails if b is also
a SyntheticSection. This can result in the patches being out of range if
the SyntheticSection is big, for example a ThunkSection with lots of thunks.
Differential Revision: https://reviews.llvm.org/D71242
fixes (part of) pr44071
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/main.cpp')
0 files changed, 0 insertions, 0 deletions