diff options
| author | Eli Friedman <efriedma@codeaurora.org> | 2018-08-02 23:54:16 +0000 |
|---|---|---|
| committer | Eli Friedman <efriedma@codeaurora.org> | 2018-08-02 23:54:16 +0000 |
| commit | 1ba5e9ac249fc425abe4f1be70d04960c0ce957a (patch) | |
| tree | c7fba0ca08424ba8e6e90e9c733cf42b89db3c71 /llvm/test/tools/llvm-dwp | |
| parent | 366a49d986cdd3a0718497b7ef9284957eccb7b1 (diff) | |
| download | bcm5719-llvm-1ba5e9ac249fc425abe4f1be70d04960c0ce957a.tar.gz bcm5719-llvm-1ba5e9ac249fc425abe4f1be70d04960c0ce957a.zip | |
[GlobalMerge] Allow merging globals with explicit section markings.
At least on ELF, it's impossible to tell from the object file whether
two globals with the same section marking were merged: the merged global
uses "private" linkage to hide its symbol, and the aliases look like
regular symbols. I can't think of any other reason to disallow it.
(Of course, we can only merge globals in the same section.)
The weird alignment handling matches AsmPrinter; our alignment handling
for global variables should probably be refactored.
Differential Revision: https://reviews.llvm.org/D49822
llvm-svn: 338791
Diffstat (limited to 'llvm/test/tools/llvm-dwp')
0 files changed, 0 insertions, 0 deletions

