mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Handle GhostLinkage case for completeness (should not be seen by the asm writer)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18015 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f6abe385b6
commit
c11c44f55b
@ -618,6 +618,9 @@ bool V8Printer::doFinalization(Module &M) {
|
||||
else
|
||||
SwitchSection(O, CurSection, ".data");
|
||||
break;
|
||||
case GlobalValue::GhostLinkage:
|
||||
std::cerr << "Should not have any unmaterialized functions!\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
O << "\t.align " << Align << "\n";
|
||||
|
@ -618,6 +618,9 @@ bool V8Printer::doFinalization(Module &M) {
|
||||
else
|
||||
SwitchSection(O, CurSection, ".data");
|
||||
break;
|
||||
case GlobalValue::GhostLinkage:
|
||||
std::cerr << "Should not have any unmaterialized functions!\n";
|
||||
abort();
|
||||
}
|
||||
|
||||
O << "\t.align " << Align << "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user