This is an archive of the discontinued LLVM Phabricator instance.

[BOLT] Create section symbols for inserted sections
Needs ReviewPublic

Authored by yota9 on Mar 22 2023, 10:18 AM.

Details

Summary

Just for consistensy create section symbols for inserted
sections (sections without reference).

Vladislav Khmelevsky,
Advanced Software Technology Lab, Huawei

Diff Detail

Event Timeline

yota9 created this revision.Mar 22 2023, 10:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 10:18 AM
yota9 requested review of this revision.Mar 22 2023, 10:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 22 2023, 10:18 AM
Amir added a comment.Mar 29 2023, 12:50 PM

I'm testing it internally, will get back to it tomorrow

Amir added a comment.Apr 11 2023, 4:09 PM

Why do we need to create symbols for these sections?

bolt/lib/Rewrite/RewriteInstance.cpp
5184–5187
bolt/test/create_section_symbol.c
1