diff options
author | Maksim Panchenko <maks@fb.com> | 2022-09-09 18:06:13 -0700 |
---|---|---|
committer | Maksim Panchenko <maks@fb.com> | 2022-09-16 13:39:12 -0700 |
commit | 1d5393526c29312eb51ab7dbbc082d10dfd44a5b (patch) | |
tree | d1a7757e88574f92d0cd9f01544f79fa9f538579 /llvm/lib/CodeGen/SelectOptimize.cpp | |
parent | 9742c25b9894d4805e05369c50cc8e0562a3cb92 (diff) | |
download | llvm-1d5393526c29312eb51ab7dbbc082d10dfd44a5b.zip llvm-1d5393526c29312eb51ab7dbbc082d10dfd44a5b.tar.gz llvm-1d5393526c29312eb51ab7dbbc082d10dfd44a5b.tar.bz2 |
[BOLT] Change base class of ExecutableFileMemoryManager
When we derive EFMM from SectionMemoryManager, it brings into EFMM extra
functionality, such as the registry of exception handling sections,
page permission management, etc. Such functionality is of no use to
llvm-bolt and can even be detrimental (see
https://github.com/llvm/llvm-project/issues/56726).
Change the base class of ExecutableFileMemoryManager to MemoryManager,
avoid registering EH sections, and skip memory finalization.
Fixes #56726
Reviewed By: yota9
Differential Revision: https://reviews.llvm.org/D133994
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
0 files changed, 0 insertions, 0 deletions