[lldb] [llvm] [NFC][DebugInfo][DWARF] Create new low-level dwarf library (PR #145081)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 26 11:59:29 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `hip-third-party-libs-test` running on `ext_buildbot_hw_05-hip-docker` while building `bolt,lldb,llvm,utils` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/206/builds/2380

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py --jobs=32' (failure)
...
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/DisassemblerHelper.h:20,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/Analysis.h:18,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/llvm-exegesis.cpp:14:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSectionGOFF.h: In member function ‘llvm::GOFF::ESDTextStyle llvm::MCSectionGOFF::getTextStyle() const’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSectionGOFF.h:113:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  113 |     assert(isED() || isPR() || isVirtualSection() && "Expect ED or PR section");
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6163/7888] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/ErrorCollector.cpp.o
[6164/7888] Building CXX object tools/clang/tools/clang-installapi/CMakeFiles/clang-installapi.dir/Options.cpp.o
[6165/7888] Linking CXX shared library lib/libLLVMDebugInfoLogicalView.so.21.0git
FAILED: lib/libLLVMDebugInfoLogicalView.so.21.0git 
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete   -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/./lib  -Wl,--gc-sections -shared -Wl,-soname,libLLVMDebugInfoLogicalView.so.21.0git -o lib/libLLVMDebugInfoLogicalView.so.21.0git lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVCompare.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVElement.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVLine.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVLocation.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVObject.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVOptions.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVRange.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVReader.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVScope.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVSort.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVSourceLanguage.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVSupport.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVSymbol.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVType.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/LVReaderHandler.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVBinaryReader.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVCodeViewReader.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVCodeViewVisitor.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVDWARFReader.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/hip-third-party-libs-test/build/lib:"  lib/libLLVMDebugInfoDWARF.so.21.0git  lib/libLLVMDebugInfoPDB.so.21.0git  lib/libLLVMObject.so.21.0git  lib/libLLVMMC.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMTargetParser.so.21.0git  lib/libLLVMDebugInfoCodeView.so.21.0git  lib/libLLVMSupport.so.21.0git  lib/libLLVMDemangle.so.21.0git  -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/lib && :
/usr/bin/ld: lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVDWARFReader.cpp.o: in function `bool llvm::function_ref<bool (llvm::DWARFLocationEntry const&)>::callback_fn<llvm::logicalview::LVDWARFReader::processLocationList(llvm::dwarf::Attribute, llvm::DWARFFormValue const&, llvm::DWARFDie const&, unsigned long, bool)::{lambda(llvm::DWARFLocationEntry const&)#3}>(long, llvm::DWARFLocationEntry const&)':
LVDWARFReader.cpp:(.text._ZN4llvm12function_refIFbRKNS_18DWARFLocationEntryEEE11callback_fnIZNS_11logicalview13LVDWARFReader19processLocationListENS_5dwarf9AttributeERKNS_14DWARFFormValueERKNS_8DWARFDieEmbEUlS3_E1_EEblS3_+0x311): undefined reference to `llvm::DWARFExpression::Operation::extract(llvm::DataExtractor, unsigned char, unsigned long, std::optional<llvm::dwarf::DwarfFormat>)'
/usr/bin/ld: LVDWARFReader.cpp:(.text._ZN4llvm12function_refIFbRKNS_18DWARFLocationEntryEEE11callback_fnIZNS_11logicalview13LVDWARFReader19processLocationListENS_5dwarf9AttributeERKNS_14DWARFFormValueERKNS_8DWARFDieEmbEUlS3_E1_EEblS3_+0x3c5): undefined reference to `llvm::DWARFExpression::Operation::extract(llvm::DataExtractor, unsigned char, unsigned long, std::optional<llvm::dwarf::DwarfFormat>)'
/usr/bin/ld: lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVDWARFReader.cpp.o: in function `llvm::logicalview::LVDWARFReader::processLocationList(llvm::dwarf::Attribute, llvm::DWARFFormValue const&, llvm::DWARFDie const&, unsigned long, bool) [clone .localalias]':
LVDWARFReader.cpp:(.text._ZN4llvm11logicalview13LVDWARFReader19processLocationListENS_5dwarf9AttributeERKNS_14DWARFFormValueERKNS_8DWARFDieEmb+0x30e): undefined reference to `llvm::DWARFExpression::Operation::extract(llvm::DataExtractor, unsigned char, unsigned long, std::optional<llvm::dwarf::DwarfFormat>)'
/usr/bin/ld: LVDWARFReader.cpp:(.text._ZN4llvm11logicalview13LVDWARFReader19processLocationListENS_5dwarf9AttributeERKNS_14DWARFFormValueERKNS_8DWARFDieEmb+0x574): undefined reference to `llvm::DWARFExpression::Operation::extract(llvm::DataExtractor, unsigned char, unsigned long, std::optional<llvm::dwarf::DwarfFormat>)'
collect2: error: ld returned 1 exit status
[6166/7888] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/llvm-ifs-driver.cpp.o
[6167/7888] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
[6168/7888] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/llvm-ifs.cpp.o
[6169/7888] Building CXX object tools/llvm-itanium-demangle-fuzzer/CMakeFiles/llvm-itanium-demangle-fuzzer.dir/llvm-itanium-demangle-fuzzer.cpp.o
[6170/7888] Building Opts.inc...
[6171/7888] Building LipoOpts.inc...
[6172/7888] Building CXX object tools/llvm-jitlink/llvm-jitlink-executor/CMakeFiles/llvm-jitlink-executor.dir/llvm-jitlink-executor.cpp.o
[6173/7888] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RawPtrRefLambdaCapturesChecker.cpp.o
[6174/7888] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o
[6175/7888] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RawPtrRefLocalVarsChecker.cpp.o
[6176/7888] Building CXX object tools/llvm-link/CMakeFiles/llvm-link.dir/llvm-link.cpp.o
[6177/7888] Building CXX object tools/llvm-exegesis/lib/X86/CMakeFiles/obj.LLVMExegesisX86.dir/Target.cpp.o
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSection.h:21,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCContext.h:24,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/CodeGen/MachineModuleInfo.h:36,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../Assembler.h:25,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../BenchmarkRunner.h:18,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../Target.h:20,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/X86/Target.cpp:8:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSectionGOFF.h: In member function ‘llvm::GOFF::ESDTextStyle llvm::MCSectionGOFF::getTextStyle() const’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSectionGOFF.h:113:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  113 |     assert(isED() || isPR() || isVirtualSection() && "Expect ED or PR section");
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6178/7888] Linking CXX shared library lib/libLLVMDiff.so.21.0git
[6179/7888] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSection.h:21,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCContext.h:24,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/DWARFLinker/Classic/DWARFStreamer.h:16,
Step 7 (build cmake config) failure: build cmake config (failure)
...
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/DisassemblerHelper.h:20,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/Analysis.h:18,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/llvm-exegesis.cpp:14:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSectionGOFF.h: In member function ‘llvm::GOFF::ESDTextStyle llvm::MCSectionGOFF::getTextStyle() const’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSectionGOFF.h:113:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  113 |     assert(isED() || isPR() || isVirtualSection() && "Expect ED or PR section");
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6163/7888] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/ErrorCollector.cpp.o
[6164/7888] Building CXX object tools/clang/tools/clang-installapi/CMakeFiles/clang-installapi.dir/Options.cpp.o
[6165/7888] Linking CXX shared library lib/libLLVMDebugInfoLogicalView.so.21.0git
FAILED: lib/libLLVMDebugInfoLogicalView.so.21.0git 
: && /usr/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG  -Wl,-z,defs -Wl,-z,nodelete   -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/./lib  -Wl,--gc-sections -shared -Wl,-soname,libLLVMDebugInfoLogicalView.so.21.0git -o lib/libLLVMDebugInfoLogicalView.so.21.0git lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVCompare.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVElement.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVLine.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVLocation.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVObject.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVOptions.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVRange.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVReader.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVScope.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVSort.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVSourceLanguage.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVSupport.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVSymbol.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Core/LVType.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/LVReaderHandler.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVBinaryReader.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVCodeViewReader.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVCodeViewVisitor.cpp.o lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVDWARFReader.cpp.o  -Wl,-rpath,"\$ORIGIN/../lib:/home/botworker/bbot/hip-third-party-libs-test/build/lib:"  lib/libLLVMDebugInfoDWARF.so.21.0git  lib/libLLVMDebugInfoPDB.so.21.0git  lib/libLLVMObject.so.21.0git  lib/libLLVMMC.so.21.0git  lib/libLLVMBinaryFormat.so.21.0git  lib/libLLVMTargetParser.so.21.0git  lib/libLLVMDebugInfoCodeView.so.21.0git  lib/libLLVMSupport.so.21.0git  lib/libLLVMDemangle.so.21.0git  -Wl,-rpath-link,/home/botworker/bbot/hip-third-party-libs-test/build/lib && :
/usr/bin/ld: lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVDWARFReader.cpp.o: in function `bool llvm::function_ref<bool (llvm::DWARFLocationEntry const&)>::callback_fn<llvm::logicalview::LVDWARFReader::processLocationList(llvm::dwarf::Attribute, llvm::DWARFFormValue const&, llvm::DWARFDie const&, unsigned long, bool)::{lambda(llvm::DWARFLocationEntry const&)#3}>(long, llvm::DWARFLocationEntry const&)':
LVDWARFReader.cpp:(.text._ZN4llvm12function_refIFbRKNS_18DWARFLocationEntryEEE11callback_fnIZNS_11logicalview13LVDWARFReader19processLocationListENS_5dwarf9AttributeERKNS_14DWARFFormValueERKNS_8DWARFDieEmbEUlS3_E1_EEblS3_+0x311): undefined reference to `llvm::DWARFExpression::Operation::extract(llvm::DataExtractor, unsigned char, unsigned long, std::optional<llvm::dwarf::DwarfFormat>)'
/usr/bin/ld: LVDWARFReader.cpp:(.text._ZN4llvm12function_refIFbRKNS_18DWARFLocationEntryEEE11callback_fnIZNS_11logicalview13LVDWARFReader19processLocationListENS_5dwarf9AttributeERKNS_14DWARFFormValueERKNS_8DWARFDieEmbEUlS3_E1_EEblS3_+0x3c5): undefined reference to `llvm::DWARFExpression::Operation::extract(llvm::DataExtractor, unsigned char, unsigned long, std::optional<llvm::dwarf::DwarfFormat>)'
/usr/bin/ld: lib/DebugInfo/LogicalView/CMakeFiles/LLVMDebugInfoLogicalView.dir/Readers/LVDWARFReader.cpp.o: in function `llvm::logicalview::LVDWARFReader::processLocationList(llvm::dwarf::Attribute, llvm::DWARFFormValue const&, llvm::DWARFDie const&, unsigned long, bool) [clone .localalias]':
LVDWARFReader.cpp:(.text._ZN4llvm11logicalview13LVDWARFReader19processLocationListENS_5dwarf9AttributeERKNS_14DWARFFormValueERKNS_8DWARFDieEmb+0x30e): undefined reference to `llvm::DWARFExpression::Operation::extract(llvm::DataExtractor, unsigned char, unsigned long, std::optional<llvm::dwarf::DwarfFormat>)'
/usr/bin/ld: LVDWARFReader.cpp:(.text._ZN4llvm11logicalview13LVDWARFReader19processLocationListENS_5dwarf9AttributeERKNS_14DWARFFormValueERKNS_8DWARFDieEmb+0x574): undefined reference to `llvm::DWARFExpression::Operation::extract(llvm::DataExtractor, unsigned char, unsigned long, std::optional<llvm::dwarf::DwarfFormat>)'
collect2: error: ld returned 1 exit status
[6166/7888] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/llvm-ifs-driver.cpp.o
[6167/7888] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
[6168/7888] Building CXX object tools/llvm-ifs/CMakeFiles/llvm-ifs.dir/llvm-ifs.cpp.o
[6169/7888] Building CXX object tools/llvm-itanium-demangle-fuzzer/CMakeFiles/llvm-itanium-demangle-fuzzer.dir/llvm-itanium-demangle-fuzzer.cpp.o
[6170/7888] Building Opts.inc...
[6171/7888] Building LipoOpts.inc...
[6172/7888] Building CXX object tools/llvm-jitlink/llvm-jitlink-executor/CMakeFiles/llvm-jitlink-executor.dir/llvm-jitlink-executor.cpp.o
[6173/7888] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RawPtrRefLambdaCapturesChecker.cpp.o
[6174/7888] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o
[6175/7888] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RawPtrRefLocalVarsChecker.cpp.o
[6176/7888] Building CXX object tools/llvm-link/CMakeFiles/llvm-link.dir/llvm-link.cpp.o
[6177/7888] Building CXX object tools/llvm-exegesis/lib/X86/CMakeFiles/obj.LLVMExegesisX86.dir/Target.cpp.o
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSection.h:21,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCContext.h:24,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/CodeGen/MachineModuleInfo.h:36,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../Assembler.h:25,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../BenchmarkRunner.h:18,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/X86/../Target.h:20,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/tools/llvm-exegesis/lib/X86/Target.cpp:8:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSectionGOFF.h: In member function ‘llvm::GOFF::ESDTextStyle llvm::MCSectionGOFF::getTextStyle() const’:
/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSectionGOFF.h:113:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
  113 |     assert(isED() || isPR() || isVirtualSection() && "Expect ED or PR section");
      |                                ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6178/7888] Linking CXX shared library lib/libLLVMDiff.so.21.0git
[6179/7888] Building CXX object lib/DWARFLinker/Classic/CMakeFiles/LLVMDWARFLinkerClassic.dir/DWARFLinker.cpp.o
In file included from /usr/include/c++/11/cassert:44,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCSection.h:21,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/MC/MCContext.h:24,
                 from /home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include/llvm/DWARFLinker/Classic/DWARFStreamer.h:16,

```

</details>

https://github.com/llvm/llvm-project/pull/145081


More information about the llvm-commits mailing list