diff options
author | Fangrui Song <i@maskray.me> | 2021-11-28 21:07:33 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-11-28 21:07:34 -0800 |
commit | 99a2d940dd77a9c3699c71024b38baee98df8292 (patch) | |
tree | 96e30a70db16d08b0bf150b82ca84c554f234d10 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 4aac00a71db31121d70b140d7367e7f9d9992f66 (diff) | |
download | llvm-99a2d940dd77a9c3699c71024b38baee98df8292.zip llvm-99a2d940dd77a9c3699c71024b38baee98df8292.tar.gz llvm-99a2d940dd77a9c3699c71024b38baee98df8292.tar.bz2 |
[ELF] Speed up/simplify removeUnusedSyntheticSections. NFC
Make one change: when the OutputSection is nullptr (due to /DISCARD/ or garbage
collected BssSection (replaceCommonSymbols)), discard the SyntheticSection as well.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions