[llvm-commits] [llvm] r79081 - in /llvm/trunk/lib/Target/PIC16: AsmPrinter/PIC16AsmPrinter.cpp MCSectionPIC16.h PIC16Section.h PIC16TargetObjectFile.cpp
Chris Lattner
sabre at nondot.org
Fri Aug 14 23:13:41 PDT 2009
Author: lattner
Date: Sat Aug 15 01:13:40 2009
New Revision: 79081
URL: http://llvm.org/viewvc/llvm-project?rev=79081&view=rev
Log:
rename PIC16Section.h -> MCSectionPIC16.h for consistency with
the class it defines.
Added:
llvm/trunk/lib/Target/PIC16/MCSectionPIC16.h
- copied unchanged from r79076, llvm/trunk/lib/Target/PIC16/PIC16Section.h
Removed:
llvm/trunk/lib/Target/PIC16/PIC16Section.h
Modified:
llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
llvm/trunk/lib/Target/PIC16/PIC16TargetObjectFile.cpp
Modified: llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp?rev=79081&r1=79080&r2=79081&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp Sat Aug 15 01:13:40 2009
@@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
#include "PIC16AsmPrinter.h"
-#include "PIC16Section.h"
+#include "MCSectionPIC16.h"
#include "PIC16TargetAsmInfo.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Function.h"
Removed: llvm/trunk/lib/Target/PIC16/PIC16Section.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16Section.h?rev=79080&view=auto
==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16Section.h (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16Section.h (removed)
@@ -1,41 +0,0 @@
-//===- PIC16Section.h - PIC16-specific section representation ---*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file declares the MCSection class.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_PIC16SECTION_H
-#define LLVM_PIC16SECTION_H
-
-#include "llvm/MC/MCSection.h"
-
-namespace llvm {
-
- class MCSectionPIC16 : public MCSection {
- std::string Name;
-
- MCSectionPIC16(const StringRef &name, SectionKind K)
- : MCSection(K), Name(name) {
- }
-
- public:
-
- const std::string &getName() const { return Name; }
-
- static MCSectionPIC16 *Create(const StringRef &Name,
- SectionKind K, MCContext &Ctx);
-
- virtual void PrintSwitchToSection(const TargetAsmInfo &TAI,
- raw_ostream &OS) const;
- };
-
-} // end namespace llvm
-
-#endif
Modified: llvm/trunk/lib/Target/PIC16/PIC16TargetObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16TargetObjectFile.cpp?rev=79081&r1=79080&r2=79081&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16TargetObjectFile.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16TargetObjectFile.cpp Sat Aug 15 01:13:40 2009
@@ -8,7 +8,7 @@
//===----------------------------------------------------------------------===//
#include "PIC16TargetObjectFile.h"
-#include "PIC16Section.h"
+#include "MCSectionPIC16.h"
#include "PIC16ISelLowering.h"
#include "PIC16TargetMachine.h"
#include "llvm/DerivedTypes.h"
More information about the llvm-commits
mailing list