mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-14 01:20:40 +00:00
pic16 isn't ready to handle llvm.metadata yet.
llvm-svn: 74838
This commit is contained in:
parent
e1ec806ad2
commit
fabfde8fe1
@ -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