[PATCH] D61866: [RISCV] Rename RISCVELFStreamer.{cpp,h} to RISCVTargetELFStreamer.{cpp,h}
James Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 10:34:05 PDT 2019
jrtc27 created this revision.
jrtc27 added a reviewer: asb.
Herald added subscribers: llvm-commits, benna, psnobl, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, kito-cheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar, hiraditya, mgorny.
Herald added a project: LLVM.
This now matches the name of the class, but also avoids confusion with a
target-specific MCELFStreamer.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D61866
Files:
llvm/lib/Target/RISCV/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetELFStreamer.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetELFStreamer.h
Index: llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetELFStreamer.h
===================================================================
--- llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetELFStreamer.h
+++ llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetELFStreamer.h
@@ -1,4 +1,4 @@
-//===-- RISCVELFStreamer.h - RISCV ELF Target Streamer ---------*- C++ -*--===//
+//===-- RISCVTargetELFStreamer.h - RISCV ELF Target Streamer ---*- C++ -*--===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_LIB_TARGET_RISCV_RISCVELFSTREAMER_H
-#define LLVM_LIB_TARGET_RISCV_RISCVELFSTREAMER_H
+#ifndef LLVM_LIB_TARGET_RISCV_RISCVTARGETELFSTREAMER_H
+#define LLVM_LIB_TARGET_RISCV_RISCVTARGETELFSTREAMER_H
#include "RISCVTargetStreamer.h"
#include "llvm/MC/MCELFStreamer.h"
Index: llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetELFStreamer.cpp
===================================================================
--- llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetELFStreamer.cpp
+++ llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetELFStreamer.cpp
@@ -1,4 +1,4 @@
-//===-- RISCVELFStreamer.cpp - RISCV ELF Target Streamer Methods ----------===//
+//===-- RISCVTargetELFStreamer.cpp - RISCV ELF Target Streamer Methods ----===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -10,7 +10,7 @@
//
//===----------------------------------------------------------------------===//
-#include "RISCVELFStreamer.h"
+#include "RISCVTargetELFStreamer.h"
#include "MCTargetDesc/RISCVAsmBackend.h"
#include "RISCVMCTargetDesc.h"
#include "Utils/RISCVBaseInfo.h"
Index: llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
===================================================================
--- llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
+++ llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp
@@ -11,9 +11,9 @@
//===----------------------------------------------------------------------===//
#include "RISCVMCTargetDesc.h"
-#include "RISCVELFStreamer.h"
#include "RISCVInstPrinter.h"
#include "RISCVMCAsmInfo.h"
+#include "RISCVTargetELFStreamer.h"
#include "RISCVTargetStreamer.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/MC/MCAsmInfo.h"
Index: llvm/lib/Target/RISCV/MCTargetDesc/CMakeLists.txt
===================================================================
--- llvm/lib/Target/RISCV/MCTargetDesc/CMakeLists.txt
+++ llvm/lib/Target/RISCV/MCTargetDesc/CMakeLists.txt
@@ -7,5 +7,5 @@
RISCVMCExpr.cpp
RISCVMCTargetDesc.cpp
RISCVTargetStreamer.cpp
- RISCVELFStreamer.cpp
+ RISCVTargetELFStreamer.cpp
)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61866.199297.patch
Type: text/x-patch
Size: 2851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190513/46b03bb2/attachment.bin>
More information about the llvm-commits
mailing list