[all-commits] [llvm/llvm-project] 81cde4: Cleanup LLVMDebugInfoCodeView headers

serge-sans-paille via All-commits all-commits at lists.llvm.org
Tue Feb 8 07:01:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81cde474e2c5a6280cb693b777ddcf473825ae8a
      https://github.com/llvm/llvm-project/commit/81cde474e2c5a6280cb693b777ddcf473825ae8a
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpression.cpp
    M llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h
    M llvm/include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h
    M llvm/include/llvm/DebugInfo/CodeView/CVTypeVisitor.h
    M llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
    M llvm/include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h
    M llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h
    M llvm/include/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h
    M llvm/include/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h
    M llvm/include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h
    M llvm/include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h
    M llvm/include/llvm/DebugInfo/CodeView/DebugSubsection.h
    M llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h
    M llvm/include/llvm/DebugInfo/CodeView/EnumTables.h
    M llvm/include/llvm/DebugInfo/CodeView/Formatters.h
    M llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h
    M llvm/include/llvm/DebugInfo/CodeView/Line.h
    M llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h
    M llvm/include/llvm/DebugInfo/CodeView/RecordName.h
    M llvm/include/llvm/DebugInfo/CodeView/RecordSerialization.h
    M llvm/include/llvm/DebugInfo/CodeView/StringsAndChecksums.h
    M llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h
    M llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h
    M llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h
    M llvm/lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp
    M llvm/lib/DebugInfo/CodeView/CVSymbolVisitor.cpp
    M llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp
    M llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
    M llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp
    M llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
    M llvm/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp
    M llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp
    M llvm/lib/DebugInfo/CodeView/DebugSymbolsSubsection.cpp
    M llvm/lib/DebugInfo/CodeView/Formatters.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/RecordName.cpp
    M llvm/lib/DebugInfo/CodeView/RecordSerialization.cpp
    M llvm/lib/DebugInfo/CodeView/SimpleTypeSerializer.cpp
    M llvm/lib/DebugInfo/CodeView/StringsAndChecksums.cpp
    M llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp
    M llvm/lib/DebugInfo/CodeView/SymbolRecordHelpers.cpp
    M llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp
    M llvm/lib/DebugInfo/CodeView/TypeDumpVisitor.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/ObjectYAML/COFFEmitter.cpp
    M llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp

  Log Message:
  -----------
  Cleanup LLVMDebugInfoCodeView headers

Major user-facing changes:

Many headers in llvm/DebugInfo/CodeView no longer include
llvm/Support/BinaryStreamReader.h or llvm/Support/BinaryStreamWriter.h,
those headers may need to be included manually.

Several headers in llvm/DebugInfo/CodeView no longer include
llvm/DebugInfo/CodeView/EnumTables.h or llvm/DebugInfo/CodeView/CodeView.h,
those headers may need to be included manually.

Some statistics:
$ clang++ -E  -Iinclude -I../llvm/include ../llvm/lib/DebugInfo/CodeView/*.cpp -std=c++14 -fno-rtti -fno-exceptions | wc -l
after:  2794466
before: 2832765

Discourse thread on the topic: https://discourse.llvm.org/t/include-what-you-use-include-cleanup/

Differential Revision: https://reviews.llvm.org/D119092




More information about the All-commits mailing list