diff options
author | Maksim Panchenko <maks@fb.com> | 2024-04-29 14:44:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 14:44:04 -0700 |
commit | 3a0d894fafddace75f03fa7df25022cadbe2dffc (patch) | |
tree | 890f9f348f79f34d32ee0676995ded908227711e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5bbf1ea8f18d1f99637b7b8bf6b985c186c808f6 (diff) | |
download | llvm-3a0d894fafddace75f03fa7df25022cadbe2dffc.zip llvm-3a0d894fafddace75f03fa7df25022cadbe2dffc.tar.gz llvm-3a0d894fafddace75f03fa7df25022cadbe2dffc.tar.bz2 |
[BOLT] Add support for BOLT-reserved space in a binary (#90300)
Allow the user to allocate space in a binary that could be used by BOLT
for allocating new sections. The reservation is specified by two special
symbols recognizable by BOLT: __bolt_reserved_{start,end}.
The reserved space will be useful for optimizing the Linux kernel where
we cannot allocate a new executable segment. However, the support is not
limited to kernel binaries as some user-space application may find it
useful too.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions