[all-commits] [llvm/llvm-project] 216616: [llvm] Replace report_fatal_error(std::string) use...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Oct 6 04:04:58 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 21661607cabd3927a56481e5382c4a68ffe6c2f3
https://github.com/llvm/llvm-project/commit/21661607cabd3927a56481e5382c4a68ffe6c2f3
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-10-06 (Wed, 06 Oct 2021)
Changed paths:
M llvm/include/llvm/Object/ELFObjectFile.h
M llvm/include/llvm/Support/Windows/WindowsSupport.h
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
M llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
M llvm/lib/IR/DiagnosticHandler.cpp
M llvm/lib/IR/LegacyPassManager.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
M llvm/lib/MC/MCELFStreamer.cpp
M llvm/lib/Object/RelocationResolver.cpp
M llvm/lib/Support/Error.cpp
M llvm/lib/Support/SpecialCaseList.cpp
M llvm/lib/Support/raw_ostream.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/BPF/BPFMIChecking.cpp
M llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
M llvm/lib/Target/X86/X86LoadValueInjectionLoadHardening.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
M llvm/lib/Transforms/Utils/SymbolRewriter.cpp
M llvm/tools/llvm-exegesis/lib/Assembler.cpp
M llvm/tools/llvm-lto/llvm-lto.cpp
M llvm/tools/llvm-objdump/ELFDump.cpp
M llvm/tools/llvm-readobj/ARMEHABIPrinter.h
M llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
Log Message:
-----------
[llvm] Replace report_fatal_error(std::string) uses with report_fatal_error(Twine)
As described on D111049, we're trying to remove the <string> dependency from error handling and replace uses of report_fatal_error(const std::string&) with the Twine() variant which can be forward declared.
More information about the All-commits
mailing list