diff options
author | Amir Ayupov <aaupov@fb.com> | 2024-05-20 16:55:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 16:55:11 -0700 |
commit | bb627b0a0c05e0bb04ae7f984b8e7fcd84906061 (patch) | |
tree | bcf4167a4bbcb5f1f6eef39f2324ecdc0fa76913 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 888e087b09dbd658a03f27c475ada50d37323987 (diff) | |
download | llvm-bb627b0a0c05e0bb04ae7f984b8e7fcd84906061.zip llvm-bb627b0a0c05e0bb04ae7f984b8e7fcd84906061.tar.gz llvm-bb627b0a0c05e0bb04ae7f984b8e7fcd84906061.tar.bz2 |
[BOLT] Ignore special symbols as function aliases in updateELFSymbolTable
Exempt special symbols (hot text/data and _end symbol) from normal
handling. We only need to set their value and make them absolute.
If these symbols are handled as normal symbols and if they alias
functions we may create non-sensical symbols, e.g. __hot_start.cold.
Test Plan: updated hot-end-symbol.s
Reviewers: maksfb, rafaelauler, ayermolo, dcci
Reviewed By: dcci, maksfb
Pull Request: https://github.com/llvm/llvm-project/pull/92713
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions