[llvm] 83456f2 - [NFC][XCOFF] remove an unused global variable.

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 03:57:30 PDT 2022


Author: esmeyi
Date: 2022-06-30T06:55:49-04:00
New Revision: 83456f2b4fa2c12aadd9f8eea286affaf52a34ec

URL: https://github.com/llvm/llvm-project/commit/83456f2b4fa2c12aadd9f8eea286affaf52a34ec
DIFF: https://github.com/llvm/llvm-project/commit/83456f2b4fa2c12aadd9f8eea286affaf52a34ec.diff

LOG: [NFC][XCOFF] remove an unused global variable.

Added: 
    

Modified: 
    llvm/lib/MC/XCOFFObjectWriter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/MC/XCOFFObjectWriter.cpp b/llvm/lib/MC/XCOFFObjectWriter.cpp
index eabd38978e3a6..977e77bf67fda 100644
--- a/llvm/lib/MC/XCOFFObjectWriter.cpp
+++ b/llvm/lib/MC/XCOFFObjectWriter.cpp
@@ -205,7 +205,6 @@ class XCOFFObjectWriter : public MCObjectWriter {
   uint64_t SymbolTableOffset = 0;
   uint16_t SectionCount = 0;
   uint64_t RelocationEntryOffset = 0;
-  StringRef SourceFileName = ".file";
   std::vector<std::pair<std::string, size_t>> FileNames;
 
   support::endian::Writer W;


        


More information about the llvm-commits mailing list