diff options
author | Rahman Lavaee <rahmanl@google.com> | 2020-12-01 09:20:34 -0800 |
---|---|---|
committer | Rahman Lavaee <rahmanl@google.com> | 2020-12-01 09:21:00 -0800 |
commit | e0bf2349303f6b40e3ddd5377ea08a5c0867ece4 (patch) | |
tree | a51faeac294913fdb224142642a12f1cff387524 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 54eab293f523956bdc4b1a98b6cf5abc0bd1ef3f (diff) | |
download | llvm-e0bf2349303f6b40e3ddd5377ea08a5c0867ece4.zip llvm-e0bf2349303f6b40e3ddd5377ea08a5c0867ece4.tar.gz llvm-e0bf2349303f6b40e3ddd5377ea08a5c0867ece4.tar.bz2 |
Let .llvm_bb_addr_map section use the same unique id as its associated .text section.
Currently, `llvm_bb_addr_map` sections are generated per section names because we use
the `LinkedToSymbol` argument of getELFSection. This will cause the address map tables of functions
grouped into the same section when `-function-sections=true -unique-section-names=false` which is not
the intended behaviour. This patch lets the unique id of every `.text` section propagate to the associated
`.llvm_bb_addr_map` section.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D92113
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions