mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
pic16 isn't ready to handle llvm.metadata yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74838 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e4840bc611
commit
024e94ce58
@ -348,6 +348,8 @@ void PIC16AsmPrinter::EmitIData (Module &M) {
|
||||
std::vector <PIC16Section *>IDATASections = PTAI->IDATASections;
|
||||
for (unsigned i = 0; i < IDATASections.size(); i++) {
|
||||
O << "\n";
|
||||
if (IDATASections[i]->S_->getName().find("llvm.") != std::string::npos)
|
||||
continue;
|
||||
SwitchToSection(IDATASections[i]->S_);
|
||||
std::vector<const GlobalVariable*> Items = IDATASections[i]->Items;
|
||||
for (unsigned j = 0; j < Items.size(); j++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user