phosek added a comment.

This change broke lld:

  /b/s/w/ir/k/llvm-project/lld/ELF/InputFiles.cpp:323:28: error: conversion 
function from 'nullptr_t' to 'llvm::StringRef' invokes a deleted function
            it->second.file, nullptr,
                             ^~~~~~~
  /b/s/w/ir/k/llvm-project/lld/ELF/InputFiles.cpp:1637:21: note: in 
instantiation of member function 
'lld::elf::ObjFile<llvm::object::ELFType<llvm::support::little, false> 
>::getVariableLoc' requested here
  template class elf::ObjFile<ELF32LE>;
                      ^
  /b/s/w/ir/k/llvm-project/llvm/include/llvm/ADT/StringRef.h:79:5: note: 
'StringRef' has been explicitly marked deleted here
      StringRef(std::nullptr_t) = delete;
      ^
  
/b/s/w/ir/k/llvm-project/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:263:59:
 note: passing argument to parameter 'CompDir' here
      bool getFileNameByIndex(uint64_t FileIndex, StringRef CompDir,
                                                            ^
  /b/s/w/ir/k/llvm-project/lld/ELF/InputFiles.cpp:323:28: error: conversion 
function from 'nullptr_t' to 'llvm::StringRef' invokes a deleted function
            it->second.file, nullptr,
                             ^~~~~~~
  /b/s/w/ir/k/llvm-project/lld/ELF/InputFiles.cpp:1638:21: note: in 
instantiation of member function 
'lld::elf::ObjFile<llvm::object::ELFType<llvm::support::big, false> 
>::getVariableLoc' requested here
  template class elf::ObjFile<ELF32BE>;
                      ^
  /b/s/w/ir/k/llvm-project/llvm/include/llvm/ADT/StringRef.h:79:5: note: 
'StringRef' has been explicitly marked deleted here
      StringRef(std::nullptr_t) = delete;
      ^
  
/b/s/w/ir/k/llvm-project/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:263:59:
 note: passing argument to parameter 'CompDir' here
      bool getFileNameByIndex(uint64_t FileIndex, StringRef CompDir,
                                                            ^
  /b/s/w/ir/k/llvm-project/lld/ELF/InputFiles.cpp:323:28: error: conversion 
function from 'nullptr_t' to 'llvm::StringRef' invokes a deleted function
            it->second.file, nullptr,
                             ^~~~~~~
  /b/s/w/ir/k/llvm-project/lld/ELF/InputFiles.cpp:1639:21: note: in 
instantiation of member function 
'lld::elf::ObjFile<llvm::object::ELFType<llvm::support::little, true> 
>::getVariableLoc' requested here
  template class elf::ObjFile<ELF64LE>;
                      ^
  /b/s/w/ir/k/llvm-project/llvm/include/llvm/ADT/StringRef.h:79:5: note: 
'StringRef' has been explicitly marked deleted here
      StringRef(std::nullptr_t) = delete;
      ^
  
/b/s/w/ir/k/llvm-project/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:263:59:
 note: passing argument to parameter 'CompDir' here
      bool getFileNameByIndex(uint64_t FileIndex, StringRef CompDir,
                                                            ^
  /b/s/w/ir/k/llvm-project/lld/ELF/InputFiles.cpp:323:28: error: conversion 
function from 'nullptr_t' to 'llvm::StringRef' invokes a deleted function
            it->second.file, nullptr,
                             ^~~~~~~
  /b/s/w/ir/k/llvm-project/lld/ELF/InputFiles.cpp:1640:21: note: in 
instantiation of member function 
'lld::elf::ObjFile<llvm::object::ELFType<llvm::support::big, true> 
>::getVariableLoc' requested here
  template class elf::ObjFile<ELF64BE>;
                      ^
  /b/s/w/ir/k/llvm-project/llvm/include/llvm/ADT/StringRef.h:79:5: note: 
'StringRef' has been explicitly marked deleted here
      StringRef(std::nullptr_t) = delete;
      ^
  
/b/s/w/ir/k/llvm-project/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:263:59:
 note: passing argument to parameter 'CompDir' here
      bool getFileNameByIndex(uint64_t FileIndex, StringRef CompDir,
                                                            ^
  4 errors generated.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64774/new/

https://reviews.llvm.org/D64774



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to