diff options
author | Maksim Panchenko <maks@fb.com> | 2023-07-19 16:55:32 -0700 |
---|---|---|
committer | Maksim Panchenko <maks@fb.com> | 2023-07-20 19:06:10 -0700 |
commit | ec4ddc2809a42b25fee0c9997b57920b3c81dee4 (patch) | |
tree | 2e62dd8b5003510b3ccbe54515e608bbde04a1d8 /clang/lib/Lex/ModuleMap.cpp | |
parent | 4c2980c1a3c74bd292c3c9d8d740fa7e053971f8 (diff) | |
download | llvm-ec4ddc2809a42b25fee0c9997b57920b3c81dee4.zip llvm-ec4ddc2809a42b25fee0c9997b57920b3c81dee4.tar.gz llvm-ec4ddc2809a42b25fee0c9997b57920b3c81dee4.tar.bz2 |
[BOLT] Improve Linux Kernel ORC reader
* Sort ORC entries in the internal table. Older Linux kernels did not
sort them in the file (only during boot time).
* Add an option to dump sorted ORC tables (--dump-orc).
* Associate entries in the internal ORC table with a BinaryFunction
even when we are not changing the function.
* If the function doesn't have ORC entry at the start, propagate ORC
state from a previous entry.
Reviewed By: Amir
Differential Revision: https://reviews.llvm.org/D155767
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions