diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-27 17:09:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-27 17:09:23 +0000 |
commit | 35aad41c1be05217281675373193d3512d650764 (patch) | |
tree | 985da17a2b3fe078178d2e4e6cb94852c543c286 /clang/test/CodeGen/alias.c | |
parent | 0a15d241346c82938a07e818715a81cd30238694 (diff) | |
download | bcm5719-llvm-35aad41c1be05217281675373193d3512d650764.tar.gz bcm5719-llvm-35aad41c1be05217281675373193d3512d650764.zip |
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.
llvm-svn: 328640
Diffstat (limited to 'clang/test/CodeGen/alias.c')
0 files changed, 0 insertions, 0 deletions