[all-commits] [llvm/llvm-project] 425198: [GlobalMerge] Preserve symbol visibility when merg...
Hans via All-commits
all-commits at lists.llvm.org
Wed Jan 29 12:38:56 PST 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: 425198bf1f98e93be37b8675e29ac6d37529dc68
https://github.com/llvm/llvm-project/commit/425198bf1f98e93be37b8675e29ac6d37529dc68
Author: Michael Spang <spang at google.com>
Date: 2020-01-29 (Wed, 29 Jan 2020)
Changed paths:
M llvm/lib/CodeGen/GlobalMerge.cpp
A llvm/test/CodeGen/AArch64/global-merge-hidden-minsize.ll
Log Message:
-----------
[GlobalMerge] Preserve symbol visibility when merging globals
Symbols created for merged external global variables have default
visibility. This can break programs when compiling with -Oz
-fvisibility=hidden as symbols that should be hidden will be exported at
link time.
Differential Revision: https://reviews.llvm.org/D73235
(cherry picked from commit a2fb2c0ddca14c133f24d08af4a78b6a3d612ec6)
More information about the All-commits
mailing list