aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-03-06 10:21:56 +0000
committerDuncan Sands <baldrick@free.fr>2009-03-06 10:21:56 +0000
commitfc5940d2a09a795e683ae86b237d6f55fb3551d4 (patch)
tree6821f5daf4f09326efad2f6baaab28e155212077 /lib/Transforms/Utils/SimplifyCFG.cpp
parent49155ffababdc2102852fd3cd3988d800d12a5c6 (diff)
While thinking about the one-definition-rule and trying
to find a tiny mouse hole to squeeze through, it struck me that globals without a name can be considered internal since they can't be referenced from outside the current module. This patch makes GlobalOpt give them internal linkage. Also done for aliases even though they always have names, since in my opinion anonymous aliases should be allowed for consistency with global variables and functions. So if that happens one day, this code is ready! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions