From dba7652e45b59ee8920eba8416f4b934b860ad26 Mon Sep 17 00:00:00 2001 From: Sanjiv Gupta Date: Mon, 6 Jul 2009 18:07:06 +0000 Subject: 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 --- lib/Target/PIC16/PIC16AsmPrinter.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Target/PIC16') diff --git a/lib/Target/PIC16/PIC16AsmPrinter.cpp b/lib/Target/PIC16/PIC16AsmPrinter.cpp index a33fef3..6466ad6 100644 --- a/lib/Target/PIC16/PIC16AsmPrinter.cpp +++ b/lib/Target/PIC16/PIC16AsmPrinter.cpp @@ -348,6 +348,8 @@ void PIC16AsmPrinter::EmitIData (Module &M) { std::vector 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 Items = IDATASections[i]->Items; for (unsigned j = 0; j < Items.size(); j++) { -- cgit v1.1