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/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 366a49d986cdd3a0718497b7ef9284957eccb7b1 (diff) | |
download | llvm-1ba5e9ac249fc425abe4f1be70d04960c0ce957a.zip llvm-1ba5e9ac249fc425abe4f1be70d04960c0ce957a.tar.gz llvm-1ba5e9ac249fc425abe4f1be70d04960c0ce957a.tar.bz2 |
[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/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions