HomePhabricator

Force SHF_MERGE optimizations with -r.
Audit RequiredrL328640

Description

Force SHF_MERGE optimizations with -r.

Some tools (dwarfdump for example) get confused by the current -O0 -r
output since it has multiple copies of .debug_str.

We cannot just merge sections with the same name as they can have
different sh_entsize.

We could have duplicated logic for merging sections based on name and
sh_entsize, but it seems better to just use the existing logic by
enabling optimizations.

Details

Auditors
Bigcheese
Committed
rafaelMar 27 2018, 10:09 AM
Parents
rL328639: [Hexagon] Rudimentary support for auto-vectorization for HVX
Branches
Unknown
Tags
Unknown