diff options
author | Alexander Shaposhnikov <shal1t712@gmail.com> | 2018-03-20 18:20:42 +0000 |
---|---|---|
committer | Alexander Shaposhnikov <shal1t712@gmail.com> | 2018-03-20 18:20:42 +0000 |
commit | 43b8acdfd7a801e1556c978f3aa956dc498c9aa2 (patch) | |
tree | 17ac5820baf10ca246a3374b200e3428f1779597 /llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp | |
parent | a3f2e483dda162cb5cd284c87bc09d72812b4dd4 (diff) | |
download | bcm5719-llvm-43b8acdfd7a801e1556c978f3aa956dc498c9aa2.tar.gz bcm5719-llvm-43b8acdfd7a801e1556c978f3aa956dc498c9aa2.zip |
[llvm-objcopy] Implement support for section groups
This diff adds support for SHT_GROUP sections to llvm-objcopy.
Some sections are interrelated and comprise a group.
For example, a definition of an inline function might require,
in addition to the section containing its instructions,
a read-only data section containing literals referenced inside the function.
A section of the type SHT_GROUP contains the indices of the group members,
therefore, it needs to be updated whenever the indices change.
Similarly, the fields sh_link, sh_info should be recalculated as well.
Test plan: make check-all
Differential revision: https://reviews.llvm.org/D43996
llvm-svn: 328012
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp')
0 files changed, 0 insertions, 0 deletions