Try to fix i686-cygming bots.
[oota-llvm.git] / tools / llvm-dwarfdump / llvm-dwarfdump.cpp
index 6af827683e1a9641152dedd49af6040c9d5f95a3..b4aeb6b8d4aa2ae48c808ee9cff680751283b01c 100644 (file)
@@ -65,7 +65,7 @@ DumpType("debug-dump", cl::init(DIDT_All),
         clEnumValN(DIDT_StrOffsetsDwo, "str_offsets.dwo", ".debug_str_offsets.dwo"),
         clEnumValEnd));
 
-static void DumpInput(const StringRef &Filename) {
+static void DumpInput(StringRef Filename) {
   ErrorOr<std::unique_ptr<MemoryBuffer>> BuffOrErr =
       MemoryBuffer::getFileOrSTDIN(Filename);