[all-commits] [llvm/llvm-project] 89fab9: [DebugInfo] llvm::Optional => std::optional

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Dec 4 16:09:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 89fab98e884f05076bbd420d95b5de3596f5452c
      https://github.com/llvm/llvm-project/commit/89fab98e884f05076bbd420d95b5de3596f5452c
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M bolt/include/bolt/Core/DebugData.h
    M bolt/lib/Core/BinaryContext.cpp
    M bolt/lib/Core/DebugData.cpp
    M bolt/lib/Core/Exceptions.cpp
    M bolt/lib/Rewrite/DWARFRewriter.cpp
    M lld/COFF/DebugTypes.cpp
    M lld/ELF/DWARF.cpp
    M lldb/source/Expression/DWARFExpression.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
    M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
    M lldb/source/Plugins/SymbolFile/NativePDB/CompileUnitIndex.cpp
    M llvm/include/llvm/BinaryFormat/Dwarf.h
    M llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h
    M llvm/include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h
    M llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
    M llvm/include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h
    M llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h
    M llvm/include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h
    M llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h
    M llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h
    M llvm/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h
    M llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeCollection.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeTableCollection.h
    M llvm/include/llvm/DebugInfo/DIContext.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFLocationExpression.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFRelocMap.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
    M llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
    M llvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h
    M llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h
    M llvm/include/llvm/DebugInfo/GSYM/GsymReader.h
    M llvm/include/llvm/DebugInfo/GSYM/InlineInfo.h
    M llvm/include/llvm/DebugInfo/GSYM/LineTable.h
    M llvm/include/llvm/DebugInfo/PDB/DIA/DIADataStream.h
    M llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h
    M llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h
    M llvm/include/llvm/DebugInfo/PDB/Native/HashTable.h
    M llvm/include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h
    M llvm/include/llvm/DebugInfo/PDB/Native/InputFile.h
    M llvm/include/llvm/DebugInfo/PDB/Native/LinePrinter.h
    M llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeEnum.h
    M llvm/include/llvm/DebugInfo/PDB/Native/NativeTypePointer.h
    M llvm/include/llvm/DebugInfo/PDB/Native/NativeTypeUDT.h
    M llvm/include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h
    M llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h
    M llvm/include/llvm/DebugInfo/Symbolize/Markup.h
    M llvm/include/llvm/DebugInfo/Symbolize/MarkupFilter.h
    M llvm/lib/BinaryFormat/Dwarf.cpp
    M llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
    M llvm/lib/CodeGen/AsmPrinter/DIE.cpp
    M llvm/lib/DWARFLinker/DWARFLinker.cpp
    M llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp
    M llvm/lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
    M llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp
    M llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
    M llvm/lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp
    M llvm/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp
    M llvm/lib/DebugInfo/CodeView/LazyRandomTypeCollection.cpp
    M llvm/lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp
    M llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp
    M llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp
    M llvm/lib/DebugInfo/CodeView/TypeTableCollection.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDataExtractor.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFTypePrinter.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
    M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
    M llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
    M llvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
    M llvm/lib/DebugInfo/GSYM/GsymReader.cpp
    M llvm/lib/DebugInfo/GSYM/InlineInfo.cpp
    M llvm/lib/DebugInfo/LogicalView/Readers/LVELFReader.cpp
    M llvm/lib/DebugInfo/PDB/DIA/DIADataStream.cpp
    M llvm/lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp
    M llvm/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp
    M llvm/lib/DebugInfo/PDB/Native/NativeInlineSiteSymbol.cpp
    M llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
    M llvm/lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp
    M llvm/lib/DebugInfo/Symbolize/DIPrinter.cpp
    M llvm/lib/DebugInfo/Symbolize/Markup.cpp
    M llvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp
    M llvm/lib/ProfileData/InstrProfCorrelator.cpp
    M llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
    M llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
    M llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp
    M llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp
    M llvm/tools/llvm-pdbutil/TypeReferenceTracker.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp
    M llvm/tools/llvm-readobj/COFFDumper.cpp
    M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
    M llvm/unittests/BinaryFormat/DwarfTest.cpp
    M llvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp
    M llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
    M llvm/unittests/DebugInfo/DWARF/DWARFListTableTest.cpp

  Log Message:
  -----------
  [DebugInfo] llvm::Optional => std::optional

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716




More information about the All-commits mailing list