mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add CommonLinkage to lto (treated same as weak AFAICT)
and llvm-nm (prints as C). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51209 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -70,6 +70,7 @@ namespace {
|
||||
static char TypeCharForSymbol(GlobalValue &GV) {
|
||||
if (GV.isDeclaration()) return 'U';
|
||||
if (GV.hasLinkOnceLinkage()) return 'C';
|
||||
if (GV.hasCommonLinkage()) return 'C';
|
||||
if (GV.hasWeakLinkage()) return 'W';
|
||||
if (isa<Function>(GV) && GV.hasInternalLinkage()) return 't';
|
||||
if (isa<Function>(GV)) return 'T';
|
||||
|
Reference in New Issue
Block a user