]> granicus.if.org Git - llvm/commitdiff
[DebugInfo] Rename EmitDebugValue to EmitDebugThreadLocal (NFC)
authorSimon Dardis <simon.dardis@imgtec.com>
Wed, 8 Feb 2017 19:03:46 +0000 (19:03 +0000)
committerSimon Dardis <simon.dardis@imgtec.com>
Wed, 8 Feb 2017 19:03:46 +0000 (19:03 +0000)
As pointed out by David Blaikie in the post commit review of
r292624, EmitDebugValue should be called EmitDebugThreadLocal.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294500 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/AsmPrinter.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DIE.cpp
lib/Target/Mips/MipsAsmPrinter.cpp
lib/Target/Mips/MipsAsmPrinter.h

index db3a6fc082851e5e6b655ce187cf6de52cb523b4..1c832986c80b9cfd295cefe58601d1336cc1f1fc 100644 (file)
@@ -498,7 +498,7 @@ public:
   ///
   /// \p Value - The value to emit.
   /// \p Size - The size of the integer (in bytes) to emit.
-  virtual void EmitDebugValue(const MCExpr *Value, unsigned Size) const;
+  virtual void EmitDebugThreadLocal(const MCExpr *Value, unsigned Size) const;
 
   //===------------------------------------------------------------------===//
   // Dwarf Lowering Routines
index 0f6ca02b2a89d7650e4a1af925c5b457a41b12c4..89474cf56cb5b989ef9208c1feb9ac9bcf5e3d6a 100644 (file)
@@ -571,7 +571,7 @@ void AsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) {
 ///
 /// \p Value - The value to emit.
 /// \p Size - The size of the integer (in bytes) to emit.
-void AsmPrinter::EmitDebugValue(const MCExpr *Value,
+void AsmPrinter::EmitDebugThreadLocal(const MCExpr *Value,
                                       unsigned Size) const {
   OutStreamer->EmitValue(Value, Size);
 }
index ae1a08374ad3494aa3a72dae5aa3d0c14b759df1..bb008ec557fc8e2973114da366c5582bfb1a672f 100644 (file)
@@ -489,7 +489,7 @@ void DIEInteger::print(raw_ostream &O) const {
 /// EmitValue - Emit expression value.
 ///
 void DIEExpr::EmitValue(const AsmPrinter *AP, dwarf::Form Form) const {
-  AP->EmitDebugValue(Expr, SizeOf(AP, Form));
+  AP->EmitDebugThreadLocal(Expr, SizeOf(AP, Form));
 }
 
 /// SizeOf - Determine size of expression value in bytes.
index 04c5d96673faade5802f50d97e3c2a5ea5df1fe0..ad74a5095a3c809f8902fa75bc6d4cb230ad9ca5 100644 (file)
@@ -1041,7 +1041,7 @@ void MipsAsmPrinter::PrintDebugValueComment(const MachineInstr *MI,
 
 // Emit .dtprelword or .dtpreldword directive
 // and value for debug thread local expression.
-void MipsAsmPrinter::EmitDebugValue(const MCExpr *Value,
+void MipsAsmPrinter::EmitDebugThreadLocal(const MCExpr *Value,
                                           unsigned Size) const {
   switch (Size) {
   case 4:
index c5cf5241c236a4041fa2319e3febf05cf36d50ff..92ce74f0206ab2b63151075984ac92c9e9954c18 100644 (file)
@@ -140,7 +140,7 @@ public:
   void EmitStartOfAsmFile(Module &M) override;
   void EmitEndOfAsmFile(Module &M) override;
   void PrintDebugValueComment(const MachineInstr *MI, raw_ostream &OS);
-  void EmitDebugValue(const MCExpr *Value, unsigned Size) const override;
+  void EmitDebugThreadLocal(const MCExpr *Value, unsigned Size) const override;
 };
 }