diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-06 18:07:06 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-06 18:07:06 +0000 |
commit | cf5ea6c26febd7fdbaba8802f3b81abff6786de2 (patch) | |
tree | 29aeb02b0d6205c7da8db2fb466298284f863387 /llvm/lib | |
parent | 7f31824a44a2698367882d1ac76f887b09cd01cf (diff) | |
download | bcm5719-llvm-cf5ea6c26febd7fdbaba8802f3b81abff6786de2.tar.gz bcm5719-llvm-cf5ea6c26febd7fdbaba8802f3b81abff6786de2.zip |
pic16 isn't ready to handle llvm.metadata yet.
llvm-svn: 74838
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp b/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp index a33fef3c881..6466ad6a22e 100644 --- a/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp +++ b/llvm/lib/Target/PIC16/PIC16AsmPrinter.cpp @@ -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++) { |