Skip to content

Conversation

@kazutakahirata
Copy link
Contributor

Identified with modernize-use-equals-default.

Identified with modernize-use-equals-default.
@llvmbot
Copy link
Member

llvmbot commented Nov 2, 2025

@llvm/pr-subscribers-backend-amdgpu
@llvm/pr-subscribers-backend-directx
@llvm/pr-subscribers-backend-nvptx
@llvm/pr-subscribers-tools-llvm-exegesis
@llvm/pr-subscribers-backend-spir-v
@llvm/pr-subscribers-pgo
@llvm/pr-subscribers-backend-risc-v

@llvm/pr-subscribers-backend-systemz

Author: Kazu Hirata (kazutakahirata)

Changes

Identified with modernize-use-equals-default.


Patch is 50.30 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/166088.diff

83 Files Affected:

  • (modified) llvm/examples/Kaleidoscope/Chapter9/toy.cpp (+1-1)
  • (modified) llvm/examples/OptSubcommand/llvm-hello-sub.cpp (+1-1)
  • (modified) llvm/include/llvm/Analysis/DDG.h (+1-5)
  • (modified) llvm/include/llvm/Demangle/Utility.h (+1-1)
  • (modified) llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h (+1-1)
  • (modified) llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h (+1-1)
  • (modified) llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h (+1-1)
  • (modified) llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h (+3-3)
  • (modified) llvm/include/llvm/IR/DebugProgramInstruction.h (+1-1)
  • (modified) llvm/include/llvm/IR/DroppedVariableStats.h (+1-1)
  • (modified) llvm/include/llvm/IR/TrackingMDRef.h (+2-5)
  • (modified) llvm/include/llvm/MC/MCRegisterInfo.h (+1-1)
  • (modified) llvm/include/llvm/MCA/SourceMgr.h (+1-1)
  • (modified) llvm/include/llvm/ObjCopy/ConfigManager.h (+1-1)
  • (modified) llvm/include/llvm/ObjCopy/MultiFormatConfig.h (+1-1)
  • (modified) llvm/include/llvm/ObjectYAML/DXContainerYAML.h (+2-2)
  • (modified) llvm/include/llvm/ProfileData/DataAccessProf.h (+1-1)
  • (modified) llvm/include/llvm/SandboxIR/Pass.h (+1-1)
  • (modified) llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h (+1-1)
  • (modified) llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h (+1-1)
  • (modified) llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp (+1-1)
  • (modified) llvm/lib/MC/GOFFObjectWriter.cpp (+1-1)
  • (modified) llvm/lib/MC/MCDXContainerWriter.cpp (+1-1)
  • (modified) llvm/lib/MC/MCGOFFStreamer.cpp (+1-1)
  • (modified) llvm/lib/ObjCopy/COFF/COFFWriter.h (+1-1)
  • (modified) llvm/lib/ObjCopy/ELF/ELFObject.h (+5-5)
  • (modified) llvm/lib/ObjCopy/MachO/MachOReader.h (+1-1)
  • (modified) llvm/lib/ObjCopy/XCOFF/XCOFFWriter.h (+1-1)
  • (modified) llvm/lib/ObjectYAML/GOFFYAML.cpp (+1-1)
  • (modified) llvm/lib/Passes/StandardInstrumentations.cpp (+2-2)
  • (modified) llvm/lib/SandboxIR/Context.cpp (+1-1)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPU.h (+3-3)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h (+1-1)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.h (+1-1)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp (+1-1)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPUWaitSGPRHazards.cpp (+1-1)
  • (modified) llvm/lib/Target/AMDGPU/GCNSchedStrategy.h (+2-2)
  • (modified) llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp (+1-1)
  • (modified) llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFObjectWriter.cpp (+1-1)
  • (modified) llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.cpp (+1-1)
  • (modified) llvm/lib/Target/NVPTX/NVPTXAliasAnalysis.h (+1-1)
  • (modified) llvm/lib/Target/RISCV/RISCVInsertWriteVXRM.cpp (+1-1)
  • (modified) llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVTargetStreamer.cpp (+1-1)
  • (modified) llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h (+1-1)
  • (modified) llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp (+1-1)
  • (modified) llvm/lib/Target/SystemZ/SystemZTargetObjectFile.h (+1-1)
  • (modified) llvm/lib/TextAPI/RecordVisitor.cpp (+1-1)
  • (modified) llvm/tools/bugpoint/ListReducer.h (+1-1)
  • (modified) llvm/tools/bugpoint/ToolRunner.h (+1-1)
  • (modified) llvm/tools/dsymutil/BinaryHolder.h (+1-1)
  • (modified) llvm/tools/lli/lli.cpp (+1-1)
  • (modified) llvm/tools/llvm-cov/CoverageExporter.h (+1-1)
  • (modified) llvm/tools/llvm-cov/CoverageFilters.h (+1-1)
  • (modified) llvm/tools/llvm-cov/SourceCoverageView.h (+2-2)
  • (modified) llvm/tools/llvm-diff/lib/DiffConsumer.h (+1-1)
  • (modified) llvm/tools/llvm-diff/lib/DifferenceEngine.h (+1-1)
  • (modified) llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp (+1-1)
  • (modified) llvm/tools/llvm-exegesis/lib/Error.h (+1-1)
  • (modified) llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp (+1-1)
  • (modified) llvm/tools/llvm-exegesis/lib/Target.cpp (+2-2)
  • (modified) llvm/tools/llvm-libtool-darwin/DependencyInfo.h (+1-1)
  • (modified) llvm/tools/llvm-mca/CodeRegionGenerator.cpp (+1-1)
  • (modified) llvm/tools/llvm-mca/CodeRegionGenerator.h (+1-1)
  • (modified) llvm/tools/llvm-objdump/SourcePrinter.h (+1-1)
  • (modified) llvm/tools/llvm-objdump/llvm-objdump.h (+1-1)
  • (modified) llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp (+1-1)
  • (modified) llvm/tools/llvm-pdbutil/DumpOutputStyle.h (+1-1)
  • (modified) llvm/tools/llvm-pdbutil/OutputStyle.h (+1-1)
  • (modified) llvm/tools/llvm-pdbutil/StreamUtil.h (+1-1)
  • (modified) llvm/tools/llvm-profgen/ProfiledBinary.cpp (+1-1)
  • (modified) llvm/tools/llvm-rc/ResourceScriptStmt.h (+5-5)
  • (modified) llvm/tools/llvm-rc/ResourceVisitor.h (+1-1)
  • (modified) llvm/tools/llvm-readobj/ObjDumper.cpp (+1-1)
  • (modified) llvm/tools/llvm-readtapi/DiffEngine.h (+1-1)
  • (modified) llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp (+1-1)
  • (modified) llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp (+1-1)
  • (modified) llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp (+1-1)
  • (modified) llvm/unittests/ExecutionEngine/JITLink/JITLinkTestUtils.h (+1-1)
  • (modified) llvm/unittests/MC/SystemZ/SystemZMCDisassemblerTest.cpp (+1-1)
  • (modified) llvm/unittests/MC/X86/X86MCDisassemblerTest.cpp (+1-1)
  • (modified) llvm/unittests/MIR/MachineMetadata.cpp (+1-1)
  • (modified) llvm/unittests/MIR/MachineStableHashTest.cpp (+1-1)
  • (modified) llvm/utils/FileCheck/FileCheck.cpp (+1-1)
diff --git a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp
index 51457a3c22ade..14081fb3c3b10 100644
--- a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp
+++ b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp
@@ -203,7 +203,7 @@ class ExprAST {
 
 public:
   ExprAST(SourceLocation Loc = CurLoc) : Loc(Loc) {}
-  virtual ~ExprAST() {}
+  virtual ~ExprAST() = default;
   virtual Value *codegen() = 0;
   int getLine() const { return Loc.Line; }
   int getCol() const { return Loc.Col; }
diff --git a/llvm/examples/OptSubcommand/llvm-hello-sub.cpp b/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
index 8071f56cb3685..8c0363f93803c 100644
--- a/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
+++ b/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
@@ -46,7 +46,7 @@ class HelloSubOptTable : public GenericOptTable {
   HelloSubOptTable()
       : GenericOptTable(OptionStrTable, OptionPrefixesTable, InfoTable,
                         /*IgnoreCase=*/false, OptionSubCommands,
-                        OptionSubCommandIDsTable) {}
+                        OptionSubCommandIDsTable) = default;
 };
 } // namespace
 
diff --git a/llvm/include/llvm/Analysis/DDG.h b/llvm/include/llvm/Analysis/DDG.h
index 1c5329181ddb1..120bb46330a79 100644
--- a/llvm/include/llvm/Analysis/DDG.h
+++ b/llvm/include/llvm/Analysis/DDG.h
@@ -60,11 +60,7 @@ class LLVM_ABI DDGNode : public DDGNodeBase {
   DDGNode(DDGNode &&N) : DDGNodeBase(std::move(N)), Kind(N.Kind) {}
   virtual ~DDGNode() = 0;
 
-  DDGNode &operator=(const DDGNode &N) {
-    DGNode::operator=(N);
-    Kind = N.Kind;
-    return *this;
-  }
+  DDGNode &operator=(const DDGNode &N) = default;
 
   DDGNode &operator=(DDGNode &&N) {
     DGNode::operator=(std::move(N));
diff --git a/llvm/include/llvm/Demangle/Utility.h b/llvm/include/llvm/Demangle/Utility.h
index 002a1f55467d6..6e6203d716e7a 100644
--- a/llvm/include/llvm/Demangle/Utility.h
+++ b/llvm/include/llvm/Demangle/Utility.h
@@ -81,7 +81,7 @@ class OutputBuffer {
   OutputBuffer(const OutputBuffer &) = delete;
   OutputBuffer &operator=(const OutputBuffer &) = delete;
 
-  virtual ~OutputBuffer() {}
+  virtual ~OutputBuffer() = default;
 
   operator std::string_view() const {
     return std::string_view(Buffer, CurrentPosition);
diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h b/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h
index 98170f60f6e49..9479c107447d5 100644
--- a/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h
+++ b/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h
@@ -175,7 +175,7 @@ struct HalfWords {
 /// FixupInfo base class is required for dynamic lookups.
 struct FixupInfoBase {
   LLVM_ABI static const FixupInfoBase *getDynFixupInfo(Edge::Kind K);
-  virtual ~FixupInfoBase() {}
+  virtual ~FixupInfoBase() = default;
 };
 
 /// FixupInfo checks for Arm edge kinds work on 32-bit words
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h b/llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h
index dd4102599bdb5..1296e24fa4162 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h
@@ -36,7 +36,7 @@ size_t writeMachOStruct(MutableArrayRef<char> Buf, size_t Offset, MachOStruct S,
 
 /// Base type for MachOBuilder load command wrappers.
 struct MachOBuilderLoadCommandBase {
-  virtual ~MachOBuilderLoadCommandBase() {}
+  virtual ~MachOBuilderLoadCommandBase() = default;
   virtual size_t size() const = 0;
   virtual size_t write(MutableArrayRef<char> Buf, size_t Offset,
                        bool SwapStruct) = 0;
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h
index 2c385de48ddf6..8f876504eaf53 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h
@@ -29,7 +29,7 @@ namespace rt_bootstrap {
 class LLVM_ABI ExecutorSharedMemoryMapperService final
     : public ExecutorBootstrapService {
 public:
-  ~ExecutorSharedMemoryMapperService() override {};
+  ~ExecutorSharedMemoryMapperService() override = default;
 
   Expected<std::pair<ExecutorAddr, std::string>> reserve(uint64_t Size);
   Expected<ExecutorAddr> initialize(ExecutorAddr Reservation,
diff --git a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
index 5331cb5abdc6f..b3d7ab4acf303 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+++ b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
@@ -2383,7 +2383,7 @@ class OpenMPIRBuilder {
     /// runtime library for debugging
     Value *MapNamesArray = nullptr;
 
-    explicit TargetDataRTArgs() {}
+    explicit TargetDataRTArgs() = default;
     explicit TargetDataRTArgs(Value *BasePointersArray, Value *PointersArray,
                               Value *SizesArray, Value *MapTypesArray,
                               Value *MapTypesArrayEnd, Value *MappersArray,
@@ -2451,7 +2451,7 @@ class OpenMPIRBuilder {
     bool HasNoWait = false;
 
     // Constructors for TargetKernelArgs.
-    TargetKernelArgs() {}
+    TargetKernelArgs() = default;
     TargetKernelArgs(unsigned NumTargetItems, TargetDataRTArgs RTArgs,
                      Value *NumIterations, ArrayRef<Value *> NumTeams,
                      ArrayRef<Value *> NumThreads, Value *DynCGGroupMem,
@@ -2494,7 +2494,7 @@ class OpenMPIRBuilder {
     /// Whether the `target ... data` directive has a `nowait` clause.
     bool HasNoWait = false;
 
-    explicit TargetDataInfo() {}
+    explicit TargetDataInfo() = default;
     explicit TargetDataInfo(bool RequiresDevicePointerInfo,
                             bool SeparateBeginEndCalls)
         : RequiresDevicePointerInfo(RequiresDevicePointerInfo),
diff --git a/llvm/include/llvm/IR/DebugProgramInstruction.h b/llvm/include/llvm/IR/DebugProgramInstruction.h
index 457c60e3bc929..66f44fe34d3f6 100644
--- a/llvm/include/llvm/IR/DebugProgramInstruction.h
+++ b/llvm/include/llvm/IR/DebugProgramInstruction.h
@@ -589,7 +589,7 @@ filterDbgVars(iterator_range<simple_ilist<DbgRecord>::iterator> R) {
 /// date.
 class DbgMarker {
 public:
-  DbgMarker() {}
+  DbgMarker() = default;
   /// Link back to the Instruction that owns this marker. Can be null during
   /// operations that move a marker from one instruction to another.
   Instruction *MarkedInstr = nullptr;
diff --git a/llvm/include/llvm/IR/DroppedVariableStats.h b/llvm/include/llvm/IR/DroppedVariableStats.h
index 42e86dd966751..8a1dbd6aeb60a 100644
--- a/llvm/include/llvm/IR/DroppedVariableStats.h
+++ b/llvm/include/llvm/IR/DroppedVariableStats.h
@@ -42,7 +42,7 @@ class DroppedVariableStats {
 public:
   LLVM_ABI DroppedVariableStats(bool DroppedVarStatsEnabled);
 
-  virtual ~DroppedVariableStats() {}
+  virtual ~DroppedVariableStats() = default;
 
   // We intend this to be unique per-compilation, thus no copies.
   DroppedVariableStats(const DroppedVariableStats &) = delete;
diff --git a/llvm/include/llvm/IR/TrackingMDRef.h b/llvm/include/llvm/IR/TrackingMDRef.h
index d7377398b91b3..7ad7225d076fc 100644
--- a/llvm/include/llvm/IR/TrackingMDRef.h
+++ b/llvm/include/llvm/IR/TrackingMDRef.h
@@ -111,17 +111,14 @@ template <class T> class TypedTrackingMDRef {
   explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {}
 
   TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {}
-  TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {}
+  TypedTrackingMDRef(const TypedTrackingMDRef &X) = default;
 
   TypedTrackingMDRef &operator=(TypedTrackingMDRef &&X) {
     Ref = std::move(X.Ref);
     return *this;
   }
 
-  TypedTrackingMDRef &operator=(const TypedTrackingMDRef &X) {
-    Ref = X.Ref;
-    return *this;
-  }
+  TypedTrackingMDRef &operator=(const TypedTrackingMDRef &X) = default;
 
   T *get() const { return (T *)Ref.get(); }
   operator T *() const { return get(); }
diff --git a/llvm/include/llvm/MC/MCRegisterInfo.h b/llvm/include/llvm/MC/MCRegisterInfo.h
index e6fc7077a2dc3..f611edd715398 100644
--- a/llvm/include/llvm/MC/MCRegisterInfo.h
+++ b/llvm/include/llvm/MC/MCRegisterInfo.h
@@ -272,7 +272,7 @@ class LLVM_ABI MCRegisterInfo {
   friend class MCRegUnitRootIterator;
   friend class MCRegAliasIterator;
 
-  virtual ~MCRegisterInfo() {}
+  virtual ~MCRegisterInfo() = default;
 
   /// Initialize MCRegisterInfo, called by TableGen
   /// auto-generated routines. *DO NOT USE*.
diff --git a/llvm/include/llvm/MCA/SourceMgr.h b/llvm/include/llvm/MCA/SourceMgr.h
index 16a60d1116ad6..300961cbfcd69 100644
--- a/llvm/include/llvm/MCA/SourceMgr.h
+++ b/llvm/include/llvm/MCA/SourceMgr.h
@@ -50,7 +50,7 @@ struct SourceMgr {
   /// Advance to the next \a SourceRef.
   virtual void updateNext() = 0;
 
-  virtual ~SourceMgr() {}
+  virtual ~SourceMgr() = default;
 };
 
 /// The default implementation of \a SourceMgr. It always takes a fixed number
diff --git a/llvm/include/llvm/ObjCopy/ConfigManager.h b/llvm/include/llvm/ObjCopy/ConfigManager.h
index 15687998820c5..45f847ff7c434 100644
--- a/llvm/include/llvm/ObjCopy/ConfigManager.h
+++ b/llvm/include/llvm/ObjCopy/ConfigManager.h
@@ -23,7 +23,7 @@ namespace llvm {
 namespace objcopy {
 
 struct LLVM_ABI ConfigManager : public MultiFormatConfig {
-  ~ConfigManager() override {}
+  ~ConfigManager() override = default;
 
   const CommonConfig &getCommonConfig() const override { return Common; }
 
diff --git a/llvm/include/llvm/ObjCopy/MultiFormatConfig.h b/llvm/include/llvm/ObjCopy/MultiFormatConfig.h
index bb93f64aa2788..91baf9b286c58 100644
--- a/llvm/include/llvm/ObjCopy/MultiFormatConfig.h
+++ b/llvm/include/llvm/ObjCopy/MultiFormatConfig.h
@@ -24,7 +24,7 @@ struct DXContainerConfig;
 
 class MultiFormatConfig {
 public:
-  virtual ~MultiFormatConfig() {}
+  virtual ~MultiFormatConfig() = default;
 
   virtual const CommonConfig &getCommonConfig() const = 0;
   virtual Expected<const ELFConfig &> getELFConfig() const = 0;
diff --git a/llvm/include/llvm/ObjectYAML/DXContainerYAML.h b/llvm/include/llvm/ObjectYAML/DXContainerYAML.h
index b5b110d0f59a1..fbfe3069566d3 100644
--- a/llvm/include/llvm/ObjectYAML/DXContainerYAML.h
+++ b/llvm/include/llvm/ObjectYAML/DXContainerYAML.h
@@ -115,7 +115,7 @@ struct RootParameterHeaderYaml {
   dxbc::ShaderVisibility Visibility;
   uint32_t Offset;
 
-  RootParameterHeaderYaml(){};
+  RootParameterHeaderYaml() = default;
   RootParameterHeaderYaml(dxbc::RootParameterType T) : Type(T) {}
 };
 
@@ -123,7 +123,7 @@ struct RootParameterLocationYaml {
   RootParameterHeaderYaml Header;
   std::optional<size_t> IndexInSignature;
 
-  RootParameterLocationYaml(){};
+  RootParameterLocationYaml() = default;
   explicit RootParameterLocationYaml(RootParameterHeaderYaml Header)
       : Header(Header) {}
 };
diff --git a/llvm/include/llvm/ProfileData/DataAccessProf.h b/llvm/include/llvm/ProfileData/DataAccessProf.h
index 608306f02be66..ea256ef7b170b 100644
--- a/llvm/include/llvm/ProfileData/DataAccessProf.h
+++ b/llvm/include/llvm/ProfileData/DataAccessProf.h
@@ -42,7 +42,7 @@ struct SourceLocation {
       : FileName(FileNameRef.str()), Line(Line) {}
 
   // Empty constructor is used in yaml conversion.
-  SourceLocation() {}
+  SourceLocation() = default;
   /// The filename where the data is located.
   std::string FileName;
   /// The line number in the source code.
diff --git a/llvm/include/llvm/SandboxIR/Pass.h b/llvm/include/llvm/SandboxIR/Pass.h
index 267389a8a87a2..eb84f21483f8e 100644
--- a/llvm/include/llvm/SandboxIR/Pass.h
+++ b/llvm/include/llvm/SandboxIR/Pass.h
@@ -56,7 +56,7 @@ class Pass {
            "A pass name should not contain whitespaces!");
     assert(!Name.starts_with('-') && "A pass name should not start with '-'!");
   }
-  virtual ~Pass() {}
+  virtual ~Pass() = default;
   /// \Returns the name of the pass.
   StringRef getName() const { return Name; }
 #ifndef NDEBUG
diff --git a/llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h b/llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
index 84757aea7045d..970abdc38f417 100644
--- a/llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
+++ b/llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
@@ -28,7 +28,7 @@ using MacroOffset2UnitMapTy = DenseMap<uint64_t, DwarfUnit *>;
 /// Base class for all Dwarf units(Compile unit/Type table unit).
 class DwarfUnit : public OutputSections {
 public:
-  virtual ~DwarfUnit() {}
+  virtual ~DwarfUnit() = default;
   DwarfUnit(LinkingGlobalData &GlobalData, unsigned ID,
             StringRef ClangModuleName)
       : OutputSections(GlobalData), ID(ID), ClangModuleName(ClangModuleName),
diff --git a/llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h b/llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
index f67536ef7a1a8..8ccb4a502aaba 100644
--- a/llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
+++ b/llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
@@ -22,7 +22,7 @@ class StringEntryToDwarfStringPoolEntryMap {
 public:
   StringEntryToDwarfStringPoolEntryMap(LinkingGlobalData &GlobalData)
       : GlobalData(GlobalData) {}
-  ~StringEntryToDwarfStringPoolEntryMap() {}
+  ~StringEntryToDwarfStringPoolEntryMap() = default;
 
   /// Create DwarfStringPoolEntry for specified StringEntry if necessary.
   /// Initialize DwarfStringPoolEntry with initial values.
diff --git a/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp b/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
index 7e606c6a473b6..4e7db822776cc 100644
--- a/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
@@ -27,7 +27,7 @@
 namespace llvm {
 namespace orc {
 
-MemoryMapper::~MemoryMapper() {}
+MemoryMapper::~MemoryMapper() = default;
 
 InProcessMemoryMapper::InProcessMemoryMapper(size_t PageSize)
     : PageSize(PageSize) {}
diff --git a/llvm/lib/MC/GOFFObjectWriter.cpp b/llvm/lib/MC/GOFFObjectWriter.cpp
index 71bd39763956e..a3eaaa743039d 100644
--- a/llvm/lib/MC/GOFFObjectWriter.cpp
+++ b/llvm/lib/MC/GOFFObjectWriter.cpp
@@ -520,7 +520,7 @@ GOFFObjectWriter::GOFFObjectWriter(
     std::unique_ptr<MCGOFFObjectTargetWriter> MOTW, raw_pwrite_stream &OS)
     : TargetObjectWriter(std::move(MOTW)), OS(OS) {}
 
-GOFFObjectWriter::~GOFFObjectWriter() {}
+GOFFObjectWriter::~GOFFObjectWriter() = default;
 
 uint64_t GOFFObjectWriter::writeObject() {
   uint64_t Size = GOFFWriter(OS, *Asm).writeObject();
diff --git a/llvm/lib/MC/MCDXContainerWriter.cpp b/llvm/lib/MC/MCDXContainerWriter.cpp
index 5eda039853ca8..ebed411454087 100644
--- a/llvm/lib/MC/MCDXContainerWriter.cpp
+++ b/llvm/lib/MC/MCDXContainerWriter.cpp
@@ -16,7 +16,7 @@
 
 using namespace llvm;
 
-MCDXContainerTargetWriter::~MCDXContainerTargetWriter() {}
+MCDXContainerTargetWriter::~MCDXContainerTargetWriter() = default;
 
 uint64_t DXContainerObjectWriter::writeObject() {
   auto &Asm = *this->Asm;
diff --git a/llvm/lib/MC/MCGOFFStreamer.cpp b/llvm/lib/MC/MCGOFFStreamer.cpp
index 8b228db0e8b30..ad6397bce70f0 100644
--- a/llvm/lib/MC/MCGOFFStreamer.cpp
+++ b/llvm/lib/MC/MCGOFFStreamer.cpp
@@ -20,7 +20,7 @@
 
 using namespace llvm;
 
-MCGOFFStreamer::~MCGOFFStreamer() {}
+MCGOFFStreamer::~MCGOFFStreamer() = default;
 
 GOFFObjectWriter &MCGOFFStreamer::getWriter() {
   return static_cast<GOFFObjectWriter &>(getAssembler().getWriter());
diff --git a/llvm/lib/ObjCopy/COFF/COFFWriter.h b/llvm/lib/ObjCopy/COFF/COFFWriter.h
index 66d7f01c87f18..3ee0e06b92ae4 100644
--- a/llvm/lib/ObjCopy/COFF/COFFWriter.h
+++ b/llvm/lib/ObjCopy/COFF/COFFWriter.h
@@ -50,7 +50,7 @@ class COFFWriter {
   Expected<uint32_t> virtualAddressToFileAddress(uint32_t RVA);
 
 public:
-  virtual ~COFFWriter() {}
+  virtual ~COFFWriter() = default;
   Error write();
 
   COFFWriter(Object &Obj, raw_ostream &Out)
diff --git a/llvm/lib/ObjCopy/ELF/ELFObject.h b/llvm/lib/ObjCopy/ELF/ELFObject.h
index 4f6473f515ddd..2783ef27ac9de 100644
--- a/llvm/lib/ObjCopy/ELF/ELFObject.h
+++ b/llvm/lib/ObjCopy/ELF/ELFObject.h
@@ -134,7 +134,7 @@ template <class ELFT> class ELFSectionWriter : public SectionWriter {
   using Elf_Sym = typename ELFT::Sym;
 
 public:
-  ~ELFSectionWriter() override {}
+  ~ELFSectionWriter() override = default;
   Error visit(const SymbolTableSection &Sec) override;
   Error visit(const RelocationSection &Sec) override;
   Error visit(const GnuDebugLinkSection &Sec) override;
@@ -180,7 +180,7 @@ template <class ELFT> class ELFSectionSizer : public MutableSectionVisitor {
 
 class BinarySectionWriter : public SectionWriter {
 public:
-  ~BinarySectionWriter() override {}
+  ~BinarySectionWriter() override = default;
 
   Error visit(const SymbolTableSection &Sec) override;
   Error visit(const RelocationSection &Sec) override;
@@ -346,7 +346,7 @@ template <class ELFT> class ELFWriter : public Writer {
   size_t totalSize() const;
 
 public:
-  ~ELFWriter() override {}
+  ~ELFWriter() override = default;
   bool WriteSectionHeaders;
 
   // For --only-keep-debug, select an alternative section/segment layout
@@ -367,7 +367,7 @@ class BinaryWriter : public Writer {
   uint64_t TotalSize = 0;
 
 public:
-  ~BinaryWriter() override {}
+  ~BinaryWriter() override = default;
   Error finalize() override;
   Error write() override;
   BinaryWriter(Object &Obj, raw_ostream &Out, const CommonConfig &Config)
@@ -784,7 +784,7 @@ class SectionIndexSection : public SectionBase {
   SymbolTableSection *Symbols = nullptr;
 
 public:
-  ~SectionIndexSection() override {}
+  ~SectionIndexSection() override = default;
   void addIndex(uint32_t Index) {
     assert(Size > 0);
     Indexes.push_back(Index);
diff --git a/llvm/lib/ObjCopy/MachO/MachOReader.h b/llvm/lib/ObjCopy/MachO/MachOReader.h
index e315e6fd9b117..940ba4c2d879e 100644
--- a/llvm/lib/ObjCopy/MachO/MachOReader.h
+++ b/llvm/lib/ObjCopy/MachO/MachOReader.h
@@ -23,7 +23,7 @@ namespace macho {
 // raw binaries and regular MachO object files.
 class Reader {
 public:
-  virtual ~Reader(){};
+  virtual ~Reader() = default;
   virtual Expected<std::unique_ptr<Object>> create() const = 0;
 };
 
diff --git a/llvm/lib/ObjCopy/XCOFF/XCOFFWriter.h b/llvm/lib/ObjCopy/XCOFF/XCOFFWriter.h
index 8620548ed5991..47639ad82fa75 100644
--- a/llvm/lib/ObjCopy/XCOFF/XCOFFWriter.h
+++ b/llvm/lib/ObjCopy/XCOFF/XCOFFWriter.h
@@ -20,7 +20,7 @@ namespace xcoff {
 
 class XCOFFWriter {
 public:
-  virtual ~XCOFFWriter() {}
+  virtual ~XCOFFWriter() = default;
   XCOFFWriter(Object &Obj, raw_ostream &Out) : Obj(Obj), Out(Out) {}
   Error write();
 
diff --git a/llvm/lib/ObjectYAML/GOFFYAML.cpp b/llvm/lib/ObjectYAML/GOFFYAML.cpp
index 60bc1f70274b2..ecd7fb646ea36 100644
--- a/llvm/lib/ObjectYAML/GOFFYAML.cpp
+++ b/llvm/lib/ObjectYAML/GOFFYAML.cpp
@@ -15,7 +15,7 @@
 namespace llvm {
 namespace GOFFYAML {
 
-Object::Object() {}
+Object::Object() = default;
 
 } // namespace GOFFYAML
 
diff --git a/llvm/lib/Passes/StandardInstrumentations.cpp b/llvm/lib/Passes/StandardInstrumentations.cpp
index 7290a86503120..6b7e980d048a4 100644
--- a/llvm/lib/Passes/StandardInstrumentations.cpp
+++ b/llvm/lib/Passes/StandardInstrumentations.cpp
@@ -537,7 +537,7 @@ void IRChangedPrinter::handleAfter(StringRef PassID, std::string &Name,
   Out << "*** IR Dump After " << PassID << " on " << Name << " ***\n" << After;
 }
 
-IRChangedTester::~IRChangedTester() {}
+IRChangedTester::~IRChangedTester() = default;
 
 void IRChangedTester::registerCallbacks(PassInstrumentationCallbacks &PIC) {
   if (TestChanged != "")
@@ -1566,7 +1566,7 @@ void InLineChangePrinter::registerCallbacks(PassInstrumentationCallbacks &PIC) {
     TextChangeReporter<IRDataT<EmptyData>>::registerRequiredCallbacks(PIC);
 }
 
-TimeProfilingPassesHandler::TimeProfilingPassesHandler() {}
+TimeProfilingPassesHandler::TimeProfilingPassesHandler() = default;
 
 void TimeProfilingPassesHandler::registerCallbacks(
     PassInstrumentationCallbacks &PIC) {
diff --git a/llvm/lib/SandboxIR/Context.cpp b/llvm/lib/SandboxIR/Context.cpp
index fb6ff6203567a..6f5d072fb6913 100644
--- a/llvm/lib/SandboxIR/Context.cpp
+++ b/llvm/lib/SandboxIR/Context.cpp
@@ -637,7 +637,7 @@ Context::Context(LLVMContext &LLVMCtx)
     : LLVMCtx(LLVMCtx), IRTracker(*this),
       LLVMIRBuilder(LLVMCtx, ConstantFolder()) {}
 
-Context::~Context() {}
+Context::~Context() = default;
 
 void Context::clear() {
   // TODO: Ideally ...
[truncated]

@llvmbot
Copy link
Member

llvmbot commented Nov 2, 2025

@llvm/pr-subscribers-objectyaml

Author: Kazu Hirata (kazutakahirata)

Changes

Identified with modernize-use-equals-default.


Patch is 50.30 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/166088.diff

83 Files Affected:

  • (modified) llvm/examples/Kaleidoscope/Chapter9/toy.cpp (+1-1)
  • (modified) llvm/examples/OptSubcommand/llvm-hello-sub.cpp (+1-1)
  • (modified) llvm/include/llvm/Analysis/DDG.h (+1-5)
  • (modified) llvm/include/llvm/Demangle/Utility.h (+1-1)
  • (modified) llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h (+1-1)
  • (modified) llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h (+1-1)
  • (modified) llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h (+1-1)
  • (modified) llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h (+3-3)
  • (modified) llvm/include/llvm/IR/DebugProgramInstruction.h (+1-1)
  • (modified) llvm/include/llvm/IR/DroppedVariableStats.h (+1-1)
  • (modified) llvm/include/llvm/IR/TrackingMDRef.h (+2-5)
  • (modified) llvm/include/llvm/MC/MCRegisterInfo.h (+1-1)
  • (modified) llvm/include/llvm/MCA/SourceMgr.h (+1-1)
  • (modified) llvm/include/llvm/ObjCopy/ConfigManager.h (+1-1)
  • (modified) llvm/include/llvm/ObjCopy/MultiFormatConfig.h (+1-1)
  • (modified) llvm/include/llvm/ObjectYAML/DXContainerYAML.h (+2-2)
  • (modified) llvm/include/llvm/ProfileData/DataAccessProf.h (+1-1)
  • (modified) llvm/include/llvm/SandboxIR/Pass.h (+1-1)
  • (modified) llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h (+1-1)
  • (modified) llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h (+1-1)
  • (modified) llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp (+1-1)
  • (modified) llvm/lib/MC/GOFFObjectWriter.cpp (+1-1)
  • (modified) llvm/lib/MC/MCDXContainerWriter.cpp (+1-1)
  • (modified) llvm/lib/MC/MCGOFFStreamer.cpp (+1-1)
  • (modified) llvm/lib/ObjCopy/COFF/COFFWriter.h (+1-1)
  • (modified) llvm/lib/ObjCopy/ELF/ELFObject.h (+5-5)
  • (modified) llvm/lib/ObjCopy/MachO/MachOReader.h (+1-1)
  • (modified) llvm/lib/ObjCopy/XCOFF/XCOFFWriter.h (+1-1)
  • (modified) llvm/lib/ObjectYAML/GOFFYAML.cpp (+1-1)
  • (modified) llvm/lib/Passes/StandardInstrumentations.cpp (+2-2)
  • (modified) llvm/lib/SandboxIR/Context.cpp (+1-1)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPU.h (+3-3)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h (+1-1)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.h (+1-1)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp (+1-1)
  • (modified) llvm/lib/Target/AMDGPU/AMDGPUWaitSGPRHazards.cpp (+1-1)
  • (modified) llvm/lib/Target/AMDGPU/GCNSchedStrategy.h (+2-2)
  • (modified) llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp (+1-1)
  • (modified) llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchELFObjectWriter.cpp (+1-1)
  • (modified) llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCCodeEmitter.cpp (+1-1)
  • (modified) llvm/lib/Target/NVPTX/NVPTXAliasAnalysis.h (+1-1)
  • (modified) llvm/lib/Target/RISCV/RISCVInsertWriteVXRM.cpp (+1-1)
  • (modified) llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVTargetStreamer.cpp (+1-1)
  • (modified) llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h (+1-1)
  • (modified) llvm/lib/Target/SPIRV/SPIRVTargetMachine.cpp (+1-1)
  • (modified) llvm/lib/Target/SystemZ/SystemZTargetObjectFile.h (+1-1)
  • (modified) llvm/lib/TextAPI/RecordVisitor.cpp (+1-1)
  • (modified) llvm/tools/bugpoint/ListReducer.h (+1-1)
  • (modified) llvm/tools/bugpoint/ToolRunner.h (+1-1)
  • (modified) llvm/tools/dsymutil/BinaryHolder.h (+1-1)
  • (modified) llvm/tools/lli/lli.cpp (+1-1)
  • (modified) llvm/tools/llvm-cov/CoverageExporter.h (+1-1)
  • (modified) llvm/tools/llvm-cov/CoverageFilters.h (+1-1)
  • (modified) llvm/tools/llvm-cov/SourceCoverageView.h (+2-2)
  • (modified) llvm/tools/llvm-diff/lib/DiffConsumer.h (+1-1)
  • (modified) llvm/tools/llvm-diff/lib/DifferenceEngine.h (+1-1)
  • (modified) llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp (+1-1)
  • (modified) llvm/tools/llvm-exegesis/lib/Error.h (+1-1)
  • (modified) llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp (+1-1)
  • (modified) llvm/tools/llvm-exegesis/lib/Target.cpp (+2-2)
  • (modified) llvm/tools/llvm-libtool-darwin/DependencyInfo.h (+1-1)
  • (modified) llvm/tools/llvm-mca/CodeRegionGenerator.cpp (+1-1)
  • (modified) llvm/tools/llvm-mca/CodeRegionGenerator.h (+1-1)
  • (modified) llvm/tools/llvm-objdump/SourcePrinter.h (+1-1)
  • (modified) llvm/tools/llvm-objdump/llvm-objdump.h (+1-1)
  • (modified) llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp (+1-1)
  • (modified) llvm/tools/llvm-pdbutil/DumpOutputStyle.h (+1-1)
  • (modified) llvm/tools/llvm-pdbutil/OutputStyle.h (+1-1)
  • (modified) llvm/tools/llvm-pdbutil/StreamUtil.h (+1-1)
  • (modified) llvm/tools/llvm-profgen/ProfiledBinary.cpp (+1-1)
  • (modified) llvm/tools/llvm-rc/ResourceScriptStmt.h (+5-5)
  • (modified) llvm/tools/llvm-rc/ResourceVisitor.h (+1-1)
  • (modified) llvm/tools/llvm-readobj/ObjDumper.cpp (+1-1)
  • (modified) llvm/tools/llvm-readtapi/DiffEngine.h (+1-1)
  • (modified) llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp (+1-1)
  • (modified) llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp (+1-1)
  • (modified) llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp (+1-1)
  • (modified) llvm/unittests/ExecutionEngine/JITLink/JITLinkTestUtils.h (+1-1)
  • (modified) llvm/unittests/MC/SystemZ/SystemZMCDisassemblerTest.cpp (+1-1)
  • (modified) llvm/unittests/MC/X86/X86MCDisassemblerTest.cpp (+1-1)
  • (modified) llvm/unittests/MIR/MachineMetadata.cpp (+1-1)
  • (modified) llvm/unittests/MIR/MachineStableHashTest.cpp (+1-1)
  • (modified) llvm/utils/FileCheck/FileCheck.cpp (+1-1)
diff --git a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp
index 51457a3c22ade..14081fb3c3b10 100644
--- a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp
+++ b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp
@@ -203,7 +203,7 @@ class ExprAST {
 
 public:
   ExprAST(SourceLocation Loc = CurLoc) : Loc(Loc) {}
-  virtual ~ExprAST() {}
+  virtual ~ExprAST() = default;
   virtual Value *codegen() = 0;
   int getLine() const { return Loc.Line; }
   int getCol() const { return Loc.Col; }
diff --git a/llvm/examples/OptSubcommand/llvm-hello-sub.cpp b/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
index 8071f56cb3685..8c0363f93803c 100644
--- a/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
+++ b/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
@@ -46,7 +46,7 @@ class HelloSubOptTable : public GenericOptTable {
   HelloSubOptTable()
       : GenericOptTable(OptionStrTable, OptionPrefixesTable, InfoTable,
                         /*IgnoreCase=*/false, OptionSubCommands,
-                        OptionSubCommandIDsTable) {}
+                        OptionSubCommandIDsTable) = default;
 };
 } // namespace
 
diff --git a/llvm/include/llvm/Analysis/DDG.h b/llvm/include/llvm/Analysis/DDG.h
index 1c5329181ddb1..120bb46330a79 100644
--- a/llvm/include/llvm/Analysis/DDG.h
+++ b/llvm/include/llvm/Analysis/DDG.h
@@ -60,11 +60,7 @@ class LLVM_ABI DDGNode : public DDGNodeBase {
   DDGNode(DDGNode &&N) : DDGNodeBase(std::move(N)), Kind(N.Kind) {}
   virtual ~DDGNode() = 0;
 
-  DDGNode &operator=(const DDGNode &N) {
-    DGNode::operator=(N);
-    Kind = N.Kind;
-    return *this;
-  }
+  DDGNode &operator=(const DDGNode &N) = default;
 
   DDGNode &operator=(DDGNode &&N) {
     DGNode::operator=(std::move(N));
diff --git a/llvm/include/llvm/Demangle/Utility.h b/llvm/include/llvm/Demangle/Utility.h
index 002a1f55467d6..6e6203d716e7a 100644
--- a/llvm/include/llvm/Demangle/Utility.h
+++ b/llvm/include/llvm/Demangle/Utility.h
@@ -81,7 +81,7 @@ class OutputBuffer {
   OutputBuffer(const OutputBuffer &) = delete;
   OutputBuffer &operator=(const OutputBuffer &) = delete;
 
-  virtual ~OutputBuffer() {}
+  virtual ~OutputBuffer() = default;
 
   operator std::string_view() const {
     return std::string_view(Buffer, CurrentPosition);
diff --git a/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h b/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h
index 98170f60f6e49..9479c107447d5 100644
--- a/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h
+++ b/llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h
@@ -175,7 +175,7 @@ struct HalfWords {
 /// FixupInfo base class is required for dynamic lookups.
 struct FixupInfoBase {
   LLVM_ABI static const FixupInfoBase *getDynFixupInfo(Edge::Kind K);
-  virtual ~FixupInfoBase() {}
+  virtual ~FixupInfoBase() = default;
 };
 
 /// FixupInfo checks for Arm edge kinds work on 32-bit words
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h b/llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h
index dd4102599bdb5..1296e24fa4162 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/MachOBuilder.h
@@ -36,7 +36,7 @@ size_t writeMachOStruct(MutableArrayRef<char> Buf, size_t Offset, MachOStruct S,
 
 /// Base type for MachOBuilder load command wrappers.
 struct MachOBuilderLoadCommandBase {
-  virtual ~MachOBuilderLoadCommandBase() {}
+  virtual ~MachOBuilderLoadCommandBase() = default;
   virtual size_t size() const = 0;
   virtual size_t write(MutableArrayRef<char> Buf, size_t Offset,
                        bool SwapStruct) = 0;
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h
index 2c385de48ddf6..8f876504eaf53 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ExecutorSharedMemoryMapperService.h
@@ -29,7 +29,7 @@ namespace rt_bootstrap {
 class LLVM_ABI ExecutorSharedMemoryMapperService final
     : public ExecutorBootstrapService {
 public:
-  ~ExecutorSharedMemoryMapperService() override {};
+  ~ExecutorSharedMemoryMapperService() override = default;
 
   Expected<std::pair<ExecutorAddr, std::string>> reserve(uint64_t Size);
   Expected<ExecutorAddr> initialize(ExecutorAddr Reservation,
diff --git a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
index 5331cb5abdc6f..b3d7ab4acf303 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+++ b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
@@ -2383,7 +2383,7 @@ class OpenMPIRBuilder {
     /// runtime library for debugging
     Value *MapNamesArray = nullptr;
 
-    explicit TargetDataRTArgs() {}
+    explicit TargetDataRTArgs() = default;
     explicit TargetDataRTArgs(Value *BasePointersArray, Value *PointersArray,
                               Value *SizesArray, Value *MapTypesArray,
                               Value *MapTypesArrayEnd, Value *MappersArray,
@@ -2451,7 +2451,7 @@ class OpenMPIRBuilder {
     bool HasNoWait = false;
 
     // Constructors for TargetKernelArgs.
-    TargetKernelArgs() {}
+    TargetKernelArgs() = default;
     TargetKernelArgs(unsigned NumTargetItems, TargetDataRTArgs RTArgs,
                      Value *NumIterations, ArrayRef<Value *> NumTeams,
                      ArrayRef<Value *> NumThreads, Value *DynCGGroupMem,
@@ -2494,7 +2494,7 @@ class OpenMPIRBuilder {
     /// Whether the `target ... data` directive has a `nowait` clause.
     bool HasNoWait = false;
 
-    explicit TargetDataInfo() {}
+    explicit TargetDataInfo() = default;
     explicit TargetDataInfo(bool RequiresDevicePointerInfo,
                             bool SeparateBeginEndCalls)
         : RequiresDevicePointerInfo(RequiresDevicePointerInfo),
diff --git a/llvm/include/llvm/IR/DebugProgramInstruction.h b/llvm/include/llvm/IR/DebugProgramInstruction.h
index 457c60e3bc929..66f44fe34d3f6 100644
--- a/llvm/include/llvm/IR/DebugProgramInstruction.h
+++ b/llvm/include/llvm/IR/DebugProgramInstruction.h
@@ -589,7 +589,7 @@ filterDbgVars(iterator_range<simple_ilist<DbgRecord>::iterator> R) {
 /// date.
 class DbgMarker {
 public:
-  DbgMarker() {}
+  DbgMarker() = default;
   /// Link back to the Instruction that owns this marker. Can be null during
   /// operations that move a marker from one instruction to another.
   Instruction *MarkedInstr = nullptr;
diff --git a/llvm/include/llvm/IR/DroppedVariableStats.h b/llvm/include/llvm/IR/DroppedVariableStats.h
index 42e86dd966751..8a1dbd6aeb60a 100644
--- a/llvm/include/llvm/IR/DroppedVariableStats.h
+++ b/llvm/include/llvm/IR/DroppedVariableStats.h
@@ -42,7 +42,7 @@ class DroppedVariableStats {
 public:
   LLVM_ABI DroppedVariableStats(bool DroppedVarStatsEnabled);
 
-  virtual ~DroppedVariableStats() {}
+  virtual ~DroppedVariableStats() = default;
 
   // We intend this to be unique per-compilation, thus no copies.
   DroppedVariableStats(const DroppedVariableStats &) = delete;
diff --git a/llvm/include/llvm/IR/TrackingMDRef.h b/llvm/include/llvm/IR/TrackingMDRef.h
index d7377398b91b3..7ad7225d076fc 100644
--- a/llvm/include/llvm/IR/TrackingMDRef.h
+++ b/llvm/include/llvm/IR/TrackingMDRef.h
@@ -111,17 +111,14 @@ template <class T> class TypedTrackingMDRef {
   explicit TypedTrackingMDRef(T *MD) : Ref(static_cast<Metadata *>(MD)) {}
 
   TypedTrackingMDRef(TypedTrackingMDRef &&X) : Ref(std::move(X.Ref)) {}
-  TypedTrackingMDRef(const TypedTrackingMDRef &X) : Ref(X.Ref) {}
+  TypedTrackingMDRef(const TypedTrackingMDRef &X) = default;
 
   TypedTrackingMDRef &operator=(TypedTrackingMDRef &&X) {
     Ref = std::move(X.Ref);
     return *this;
   }
 
-  TypedTrackingMDRef &operator=(const TypedTrackingMDRef &X) {
-    Ref = X.Ref;
-    return *this;
-  }
+  TypedTrackingMDRef &operator=(const TypedTrackingMDRef &X) = default;
 
   T *get() const { return (T *)Ref.get(); }
   operator T *() const { return get(); }
diff --git a/llvm/include/llvm/MC/MCRegisterInfo.h b/llvm/include/llvm/MC/MCRegisterInfo.h
index e6fc7077a2dc3..f611edd715398 100644
--- a/llvm/include/llvm/MC/MCRegisterInfo.h
+++ b/llvm/include/llvm/MC/MCRegisterInfo.h
@@ -272,7 +272,7 @@ class LLVM_ABI MCRegisterInfo {
   friend class MCRegUnitRootIterator;
   friend class MCRegAliasIterator;
 
-  virtual ~MCRegisterInfo() {}
+  virtual ~MCRegisterInfo() = default;
 
   /// Initialize MCRegisterInfo, called by TableGen
   /// auto-generated routines. *DO NOT USE*.
diff --git a/llvm/include/llvm/MCA/SourceMgr.h b/llvm/include/llvm/MCA/SourceMgr.h
index 16a60d1116ad6..300961cbfcd69 100644
--- a/llvm/include/llvm/MCA/SourceMgr.h
+++ b/llvm/include/llvm/MCA/SourceMgr.h
@@ -50,7 +50,7 @@ struct SourceMgr {
   /// Advance to the next \a SourceRef.
   virtual void updateNext() = 0;
 
-  virtual ~SourceMgr() {}
+  virtual ~SourceMgr() = default;
 };
 
 /// The default implementation of \a SourceMgr. It always takes a fixed number
diff --git a/llvm/include/llvm/ObjCopy/ConfigManager.h b/llvm/include/llvm/ObjCopy/ConfigManager.h
index 15687998820c5..45f847ff7c434 100644
--- a/llvm/include/llvm/ObjCopy/ConfigManager.h
+++ b/llvm/include/llvm/ObjCopy/ConfigManager.h
@@ -23,7 +23,7 @@ namespace llvm {
 namespace objcopy {
 
 struct LLVM_ABI ConfigManager : public MultiFormatConfig {
-  ~ConfigManager() override {}
+  ~ConfigManager() override = default;
 
   const CommonConfig &getCommonConfig() const override { return Common; }
 
diff --git a/llvm/include/llvm/ObjCopy/MultiFormatConfig.h b/llvm/include/llvm/ObjCopy/MultiFormatConfig.h
index bb93f64aa2788..91baf9b286c58 100644
--- a/llvm/include/llvm/ObjCopy/MultiFormatConfig.h
+++ b/llvm/include/llvm/ObjCopy/MultiFormatConfig.h
@@ -24,7 +24,7 @@ struct DXContainerConfig;
 
 class MultiFormatConfig {
 public:
-  virtual ~MultiFormatConfig() {}
+  virtual ~MultiFormatConfig() = default;
 
   virtual const CommonConfig &getCommonConfig() const = 0;
   virtual Expected<const ELFConfig &> getELFConfig() const = 0;
diff --git a/llvm/include/llvm/ObjectYAML/DXContainerYAML.h b/llvm/include/llvm/ObjectYAML/DXContainerYAML.h
index b5b110d0f59a1..fbfe3069566d3 100644
--- a/llvm/include/llvm/ObjectYAML/DXContainerYAML.h
+++ b/llvm/include/llvm/ObjectYAML/DXContainerYAML.h
@@ -115,7 +115,7 @@ struct RootParameterHeaderYaml {
   dxbc::ShaderVisibility Visibility;
   uint32_t Offset;
 
-  RootParameterHeaderYaml(){};
+  RootParameterHeaderYaml() = default;
   RootParameterHeaderYaml(dxbc::RootParameterType T) : Type(T) {}
 };
 
@@ -123,7 +123,7 @@ struct RootParameterLocationYaml {
   RootParameterHeaderYaml Header;
   std::optional<size_t> IndexInSignature;
 
-  RootParameterLocationYaml(){};
+  RootParameterLocationYaml() = default;
   explicit RootParameterLocationYaml(RootParameterHeaderYaml Header)
       : Header(Header) {}
 };
diff --git a/llvm/include/llvm/ProfileData/DataAccessProf.h b/llvm/include/llvm/ProfileData/DataAccessProf.h
index 608306f02be66..ea256ef7b170b 100644
--- a/llvm/include/llvm/ProfileData/DataAccessProf.h
+++ b/llvm/include/llvm/ProfileData/DataAccessProf.h
@@ -42,7 +42,7 @@ struct SourceLocation {
       : FileName(FileNameRef.str()), Line(Line) {}
 
   // Empty constructor is used in yaml conversion.
-  SourceLocation() {}
+  SourceLocation() = default;
   /// The filename where the data is located.
   std::string FileName;
   /// The line number in the source code.
diff --git a/llvm/include/llvm/SandboxIR/Pass.h b/llvm/include/llvm/SandboxIR/Pass.h
index 267389a8a87a2..eb84f21483f8e 100644
--- a/llvm/include/llvm/SandboxIR/Pass.h
+++ b/llvm/include/llvm/SandboxIR/Pass.h
@@ -56,7 +56,7 @@ class Pass {
            "A pass name should not contain whitespaces!");
     assert(!Name.starts_with('-') && "A pass name should not start with '-'!");
   }
-  virtual ~Pass() {}
+  virtual ~Pass() = default;
   /// \Returns the name of the pass.
   StringRef getName() const { return Name; }
 #ifndef NDEBUG
diff --git a/llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h b/llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
index 84757aea7045d..970abdc38f417 100644
--- a/llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
+++ b/llvm/lib/DWARFLinker/Parallel/DWARFLinkerUnit.h
@@ -28,7 +28,7 @@ using MacroOffset2UnitMapTy = DenseMap<uint64_t, DwarfUnit *>;
 /// Base class for all Dwarf units(Compile unit/Type table unit).
 class DwarfUnit : public OutputSections {
 public:
-  virtual ~DwarfUnit() {}
+  virtual ~DwarfUnit() = default;
   DwarfUnit(LinkingGlobalData &GlobalData, unsigned ID,
             StringRef ClangModuleName)
       : OutputSections(GlobalData), ID(ID), ClangModuleName(ClangModuleName),
diff --git a/llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h b/llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
index f67536ef7a1a8..8ccb4a502aaba 100644
--- a/llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
+++ b/llvm/lib/DWARFLinker/Parallel/StringEntryToDwarfStringPoolEntryMap.h
@@ -22,7 +22,7 @@ class StringEntryToDwarfStringPoolEntryMap {
 public:
   StringEntryToDwarfStringPoolEntryMap(LinkingGlobalData &GlobalData)
       : GlobalData(GlobalData) {}
-  ~StringEntryToDwarfStringPoolEntryMap() {}
+  ~StringEntryToDwarfStringPoolEntryMap() = default;
 
   /// Create DwarfStringPoolEntry for specified StringEntry if necessary.
   /// Initialize DwarfStringPoolEntry with initial values.
diff --git a/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp b/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
index 7e606c6a473b6..4e7db822776cc 100644
--- a/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/MemoryMapper.cpp
@@ -27,7 +27,7 @@
 namespace llvm {
 namespace orc {
 
-MemoryMapper::~MemoryMapper() {}
+MemoryMapper::~MemoryMapper() = default;
 
 InProcessMemoryMapper::InProcessMemoryMapper(size_t PageSize)
     : PageSize(PageSize) {}
diff --git a/llvm/lib/MC/GOFFObjectWriter.cpp b/llvm/lib/MC/GOFFObjectWriter.cpp
index 71bd39763956e..a3eaaa743039d 100644
--- a/llvm/lib/MC/GOFFObjectWriter.cpp
+++ b/llvm/lib/MC/GOFFObjectWriter.cpp
@@ -520,7 +520,7 @@ GOFFObjectWriter::GOFFObjectWriter(
     std::unique_ptr<MCGOFFObjectTargetWriter> MOTW, raw_pwrite_stream &OS)
     : TargetObjectWriter(std::move(MOTW)), OS(OS) {}
 
-GOFFObjectWriter::~GOFFObjectWriter() {}
+GOFFObjectWriter::~GOFFObjectWriter() = default;
 
 uint64_t GOFFObjectWriter::writeObject() {
   uint64_t Size = GOFFWriter(OS, *Asm).writeObject();
diff --git a/llvm/lib/MC/MCDXContainerWriter.cpp b/llvm/lib/MC/MCDXContainerWriter.cpp
index 5eda039853ca8..ebed411454087 100644
--- a/llvm/lib/MC/MCDXContainerWriter.cpp
+++ b/llvm/lib/MC/MCDXContainerWriter.cpp
@@ -16,7 +16,7 @@
 
 using namespace llvm;
 
-MCDXContainerTargetWriter::~MCDXContainerTargetWriter() {}
+MCDXContainerTargetWriter::~MCDXContainerTargetWriter() = default;
 
 uint64_t DXContainerObjectWriter::writeObject() {
   auto &Asm = *this->Asm;
diff --git a/llvm/lib/MC/MCGOFFStreamer.cpp b/llvm/lib/MC/MCGOFFStreamer.cpp
index 8b228db0e8b30..ad6397bce70f0 100644
--- a/llvm/lib/MC/MCGOFFStreamer.cpp
+++ b/llvm/lib/MC/MCGOFFStreamer.cpp
@@ -20,7 +20,7 @@
 
 using namespace llvm;
 
-MCGOFFStreamer::~MCGOFFStreamer() {}
+MCGOFFStreamer::~MCGOFFStreamer() = default;
 
 GOFFObjectWriter &MCGOFFStreamer::getWriter() {
   return static_cast<GOFFObjectWriter &>(getAssembler().getWriter());
diff --git a/llvm/lib/ObjCopy/COFF/COFFWriter.h b/llvm/lib/ObjCopy/COFF/COFFWriter.h
index 66d7f01c87f18..3ee0e06b92ae4 100644
--- a/llvm/lib/ObjCopy/COFF/COFFWriter.h
+++ b/llvm/lib/ObjCopy/COFF/COFFWriter.h
@@ -50,7 +50,7 @@ class COFFWriter {
   Expected<uint32_t> virtualAddressToFileAddress(uint32_t RVA);
 
 public:
-  virtual ~COFFWriter() {}
+  virtual ~COFFWriter() = default;
   Error write();
 
   COFFWriter(Object &Obj, raw_ostream &Out)
diff --git a/llvm/lib/ObjCopy/ELF/ELFObject.h b/llvm/lib/ObjCopy/ELF/ELFObject.h
index 4f6473f515ddd..2783ef27ac9de 100644
--- a/llvm/lib/ObjCopy/ELF/ELFObject.h
+++ b/llvm/lib/ObjCopy/ELF/ELFObject.h
@@ -134,7 +134,7 @@ template <class ELFT> class ELFSectionWriter : public SectionWriter {
   using Elf_Sym = typename ELFT::Sym;
 
 public:
-  ~ELFSectionWriter() override {}
+  ~ELFSectionWriter() override = default;
   Error visit(const SymbolTableSection &Sec) override;
   Error visit(const RelocationSection &Sec) override;
   Error visit(const GnuDebugLinkSection &Sec) override;
@@ -180,7 +180,7 @@ template <class ELFT> class ELFSectionSizer : public MutableSectionVisitor {
 
 class BinarySectionWriter : public SectionWriter {
 public:
-  ~BinarySectionWriter() override {}
+  ~BinarySectionWriter() override = default;
 
   Error visit(const SymbolTableSection &Sec) override;
   Error visit(const RelocationSection &Sec) override;
@@ -346,7 +346,7 @@ template <class ELFT> class ELFWriter : public Writer {
   size_t totalSize() const;
 
 public:
-  ~ELFWriter() override {}
+  ~ELFWriter() override = default;
   bool WriteSectionHeaders;
 
   // For --only-keep-debug, select an alternative section/segment layout
@@ -367,7 +367,7 @@ class BinaryWriter : public Writer {
   uint64_t TotalSize = 0;
 
 public:
-  ~BinaryWriter() override {}
+  ~BinaryWriter() override = default;
   Error finalize() override;
   Error write() override;
   BinaryWriter(Object &Obj, raw_ostream &Out, const CommonConfig &Config)
@@ -784,7 +784,7 @@ class SectionIndexSection : public SectionBase {
   SymbolTableSection *Symbols = nullptr;
 
 public:
-  ~SectionIndexSection() override {}
+  ~SectionIndexSection() override = default;
   void addIndex(uint32_t Index) {
     assert(Size > 0);
     Indexes.push_back(Index);
diff --git a/llvm/lib/ObjCopy/MachO/MachOReader.h b/llvm/lib/ObjCopy/MachO/MachOReader.h
index e315e6fd9b117..940ba4c2d879e 100644
--- a/llvm/lib/ObjCopy/MachO/MachOReader.h
+++ b/llvm/lib/ObjCopy/MachO/MachOReader.h
@@ -23,7 +23,7 @@ namespace macho {
 // raw binaries and regular MachO object files.
 class Reader {
 public:
-  virtual ~Reader(){};
+  virtual ~Reader() = default;
   virtual Expected<std::unique_ptr<Object>> create() const = 0;
 };
 
diff --git a/llvm/lib/ObjCopy/XCOFF/XCOFFWriter.h b/llvm/lib/ObjCopy/XCOFF/XCOFFWriter.h
index 8620548ed5991..47639ad82fa75 100644
--- a/llvm/lib/ObjCopy/XCOFF/XCOFFWriter.h
+++ b/llvm/lib/ObjCopy/XCOFF/XCOFFWriter.h
@@ -20,7 +20,7 @@ namespace xcoff {
 
 class XCOFFWriter {
 public:
-  virtual ~XCOFFWriter() {}
+  virtual ~XCOFFWriter() = default;
   XCOFFWriter(Object &Obj, raw_ostream &Out) : Obj(Obj), Out(Out) {}
   Error write();
 
diff --git a/llvm/lib/ObjectYAML/GOFFYAML.cpp b/llvm/lib/ObjectYAML/GOFFYAML.cpp
index 60bc1f70274b2..ecd7fb646ea36 100644
--- a/llvm/lib/ObjectYAML/GOFFYAML.cpp
+++ b/llvm/lib/ObjectYAML/GOFFYAML.cpp
@@ -15,7 +15,7 @@
 namespace llvm {
 namespace GOFFYAML {
 
-Object::Object() {}
+Object::Object() = default;
 
 } // namespace GOFFYAML
 
diff --git a/llvm/lib/Passes/StandardInstrumentations.cpp b/llvm/lib/Passes/StandardInstrumentations.cpp
index 7290a86503120..6b7e980d048a4 100644
--- a/llvm/lib/Passes/StandardInstrumentations.cpp
+++ b/llvm/lib/Passes/StandardInstrumentations.cpp
@@ -537,7 +537,7 @@ void IRChangedPrinter::handleAfter(StringRef PassID, std::string &Name,
   Out << "*** IR Dump After " << PassID << " on " << Name << " ***\n" << After;
 }
 
-IRChangedTester::~IRChangedTester() {}
+IRChangedTester::~IRChangedTester() = default;
 
 void IRChangedTester::registerCallbacks(PassInstrumentationCallbacks &PIC) {
   if (TestChanged != "")
@@ -1566,7 +1566,7 @@ void InLineChangePrinter::registerCallbacks(PassInstrumentationCallbacks &PIC) {
     TextChangeReporter<IRDataT<EmptyData>>::registerRequiredCallbacks(PIC);
 }
 
-TimeProfilingPassesHandler::TimeProfilingPassesHandler() {}
+TimeProfilingPassesHandler::TimeProfilingPassesHandler() = default;
 
 void TimeProfilingPassesHandler::registerCallbacks(
     PassInstrumentationCallbacks &PIC) {
diff --git a/llvm/lib/SandboxIR/Context.cpp b/llvm/lib/SandboxIR/Context.cpp
index fb6ff6203567a..6f5d072fb6913 100644
--- a/llvm/lib/SandboxIR/Context.cpp
+++ b/llvm/lib/SandboxIR/Context.cpp
@@ -637,7 +637,7 @@ Context::Context(LLVMContext &LLVMCtx)
     : LLVMCtx(LLVMCtx), IRTracker(*this),
       LLVMIRBuilder(LLVMCtx, ConstantFolder()) {}
 
-Context::~Context() {}
+Context::~Context() = default;
 
 void Context::clear() {
   // TODO: Ideally ...
[truncated]

@kazutakahirata kazutakahirata merged commit 4eed683 into llvm:main Nov 3, 2025
10 of 11 checks passed
@kazutakahirata kazutakahirata deleted the cleanup_20251102_clang_tidy_modernize-use-equals-default branch November 3, 2025 01:16
@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 3, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-sharedlibs running on linaro-flang-aarch64-sharedlibs while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
-- Performing additional configure checks with target flags: -nostdinc++ -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -march=armv8-a
-- Performing Test COMPILER_RT_HAS_aarch64_FLOAT16
-- Performing Test COMPILER_RT_HAS_aarch64_FLOAT16 - Success
-- Performing Test COMPILER_RT_HAS_aarch64_BFLOAT16
-- Performing Test COMPILER_RT_HAS_aarch64_BFLOAT16 - Success
-- For aarch64 builtins preferring aarch64/fp_mode.c to fp_mode.c
-- Configuring done (19.7s)
-- Generating done (0.0s)
-- Build files have been written to: /home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/runtimes/builtins-bins
1677.248 [542/72/7354] Building CXX object examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o
FAILED: examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/examples/OptSubcommand -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/llvm-project/llvm/examples/OptSubcommand -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o -MF examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o.d -o examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-sharedlibs/llvm-project/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
../llvm-project/llvm/examples/OptSubcommand/llvm-hello-sub.cpp:49:51: error: expected '{' or ','
   49 |                         OptionSubCommandIDsTable) = default;
      |                                                   ^
1 error generated.
1696.414 [542/30/7396] Building CXX object examples/Kaleidoscope/BuildingAJIT/Chapter4/CMakeFiles/BuildingAJIT-Ch4.dir/toy.cpp.o
1697.631 [542/28/7398] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/parse-tree.cpp.o
1697.858 [542/27/7399] Building CXX object tools/flang/lib/Evaluate/CMakeFiles/FortranEvaluate.dir/cmake_pch.hxx.pch
1717.935 [542/26/7400] Building CXX object tools/flang/tools/fir-opt/CMakeFiles/fir-opt.dir/fir-opt.cpp.o
1719.018 [542/25/7401] Building CXX object tools/flang/tools/tco/CMakeFiles/tco.dir/tco.cpp.o
1719.749 [542/24/7402] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/openacc-parsers.cpp.o
1722.220 [542/23/7403] Building CXX object tools/flang/examples/PrintFlangFunctionNames/CMakeFiles/flangPrintFunctionNames.dir/PrintFlangFunctionNames.cpp.o
1723.121 [542/22/7404] Building CXX object tools/flang/examples/FlangOmpReport/CMakeFiles/flangOmpReport.dir/FlangOmpReport.cpp.o
1723.287 [542/21/7405] Building CXX object tools/flang/lib/Semantics/CMakeFiles/FortranSemantics.dir/cmake_pch.hxx.pch
1723.489 [542/20/7406] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/io-parsers.cpp.o
1729.779 [542/19/7407] Building CXX object tools/flang/lib/FrontendTool/CMakeFiles/flangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o
1733.931 [542/18/7408] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/program-parsers.cpp.o
1736.191 [542/17/7409] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/executable-parsers.cpp.o
1744.381 [542/16/7410] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/unparse.cpp.o
1745.906 [542/15/7411] Building CXX object tools/flang/tools/fir-lsp-server/CMakeFiles/fir-lsp-server.dir/fir-lsp-server.cpp.o
1756.733 [542/14/7412] Building CXX object tools/flang/lib/Optimizer/HLFIR/Transforms/CMakeFiles/HLFIRTransforms.dir/SimplifyHLFIRIntrinsics.cpp.o
1756.974 [542/13/7413] Building CXX object tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/cmake_pch.hxx.pch
1757.088 [542/12/7414] Building CXX object tools/flang/lib/Optimizer/HLFIR/Transforms/CMakeFiles/HLFIRTransforms.dir/LowerHLFIRIntrinsics.cpp.o
1762.968 [542/11/7415] Building CXX object tools/flang/lib/Optimizer/Builder/CMakeFiles/FIRBuilder.dir/IntrinsicCall.cpp.o
1763.583 [542/10/7416] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/Fortran-parsers.cpp.o
1770.289 [542/9/7417] Building CXX object tools/flang/examples/FeatureList/CMakeFiles/flangFeatureList.dir/FeatureList.cpp.o
1774.249 [542/8/7418] Building CXX object tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/cmake_pch.hxx.pch
1784.040 [542/7/7419] Building CXX object tools/mlir/lib/Dialect/SPIRV/IR/CMakeFiles/obj.MLIRSPIRVDialect.dir/SPIRVDialect.cpp.o
1802.237 [542/6/7420] Building CXX object tools/flang/lib/Optimizer/CodeGen/CMakeFiles/FIRCodeGen.dir/CodeGen.cpp.o
1803.352 [542/5/7421] Building CXX object tools/flang/lib/Parser/CMakeFiles/FortranParser.dir/openmp-parsers.cpp.o
1805.617 [542/4/7422] Building CXX object tools/flang/tools/bbc/CMakeFiles/bbc.dir/bbc.cpp.o
1805.724 [542/3/7423] Building CXX object tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRNVVMDialect.dir/IR/NVVMDialect.cpp.o
1824.872 [542/2/7424] Building CXX object tools/mlir/lib/Dialect/LLVMIR/CMakeFiles/obj.MLIRROCDLDialect.dir/IR/ROCDLDialect.cpp.o
1833.640 [542/1/7425] Building CXX object tools/flang/lib/Optimizer/Builder/CMakeFiles/FIRBuilder.dir/PPCIntrinsicCall.cpp.o
ninja: build stopped: subcommand failed.

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 3, 2025

LLVM Buildbot has detected a new failure on builder flang-aarch64-rel-assert running on linaro-flang-aarch64-rel-assert while building llvm at step 5 "build-unified-tree".

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

Here is the relevant piece of the build log for the reference
Step 5 (build-unified-tree) failure: build (failure)
...
1796.920 [337/64/6972] Generating ../../bin/llvm-bitcode-strip
1796.922 [337/63/6973] Generating ../../bin/llvm-install-name-tool
1796.929 [337/62/6974] Generating ../../bin/llvm-strip
1796.968 [337/61/6975] Linking CXX executable bin/OrcV2CBindingsAddObjectFile
1796.970 [337/60/6976] Linking CXX static library lib/libclangStaticAnalyzerFrontend.a
1796.987 [332/64/6977] Linking CXX static library lib/libMLIRSCFToSPIRV.a
1796.990 [331/64/6978] Linking CXX static library lib/libMLIRTensorToSPIRV.a
1796.991 [331/63/6979] Linking CXX static library lib/libMLIRTestVectorToSPIRV.a
1796.998 [331/62/6980] Linking CXX executable bin/LLJITDumpObjects
1797.049 [331/61/6981] Building CXX object examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o
FAILED: examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o 
/usr/local/bin/c++ -DGTEST_HAS_RTTI=0 -DLLVM_BUILD_STATIC -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/examples/OptSubcommand -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/examples/OptSubcommand -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/build/include -I/home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o -MF examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o.d -o examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o -c /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
../llvm-project/llvm/examples/OptSubcommand/llvm-hello-sub.cpp:49:51: error: expected '{' or ','
   49 |                         OptionSubCommandIDsTable) = default;
      |                                                   ^
1 error generated.
1797.056 [331/60/6982] Linking CXX static library lib/libclangFrontendTool.a
1797.066 [331/59/6983] Linking CXX static library lib/libMLIRGPUToSPIRV.a
1797.180 [331/58/6984] Linking CXX executable bin/LLJITWithOptimizingIRTransform
1797.745 [331/57/6985] Linking CXX executable bin/OrcV2CBindingsDumpObjects
1797.971 [331/56/6986] Linking CXX executable bin/LLJITWithCustomObjectLinkingLayer
1798.117 [331/55/6987] Linking CXX executable bin/OrcV2CBindingsRemovableCode
1798.614 [331/54/6988] Linking CXX executable bin/diagtool
1798.654 [331/53/6989] Linking CXX executable bin/LLJITWithThinLTOSummaries
1798.689 [331/52/6990] Linking CXX executable bin/LLJITWithRemoteDebugging
1798.849 [331/51/6991] Linking CXX executable bin/opt
1798.982 [331/50/6992] Linking CXX executable bin/Kaleidoscope-Ch7
1799.023 [331/49/6993] Linking CXX executable bin/BuildingAJIT-Ch2
1799.459 [331/48/6994] Linking CXX executable bin/Kaleidoscope-Ch5
1799.503 [331/47/6995] Linking CXX executable bin/Kaleidoscope-Ch6
1799.538 [331/46/6996] Linking CXX executable bin/Kaleidoscope-Ch4
1799.583 [331/45/6997] Linking CXX executable bin/OrcV2CBindingsIRTransforms
1799.972 [331/44/6998] Linking CXX executable bin/clang-scan-deps
1800.107 [331/43/6999] Linking CXX executable bin/ParallelJIT
1800.718 [331/42/7000] Linking CXX executable bin/clang-diff
1801.353 [331/41/7001] Linking CXX shared library lib/libclang-cpp.so.22.0git
1801.550 [331/40/7002] Building CXX object tools/flang/lib/Optimizer/CodeGen/CMakeFiles/FIRCodeGen.dir/PreCGRewrite.cpp.o
1801.829 [331/39/7003] Linking CXX executable bin/clang-installapi
1801.993 [331/38/7004] Linking CXX executable bin/clang-refactor
1802.073 [331/37/7005] Linking CXX executable bin/clang-extdef-mapping
1802.892 [331/36/7006] Linking CXX shared module lib/CheckerOptionHandlingAnalyzerPlugin.so
1803.064 [331/35/7007] Linking CXX shared module lib/CheckerDependencyHandlingAnalyzerPlugin.so
1803.383 [331/34/7008] Linking CXX executable bin/clang-import-test
1803.528 [331/33/7009] Linking CXX shared module lib/SampleAnalyzerPlugin.so
1803.772 [331/32/7010] Linking CXX executable bin/SpeculativeJIT
1804.148 [331/31/7011] Linking CXX shared library lib/libclang.so.22.0.0git
1806.522 [331/30/7012] Linking CXX executable bin/clang-check
1806.983 [331/29/7013] Building CXX object tools/flang/lib/Optimizer/CodeGen/CMakeFiles/FIRCodeGen.dir/BoxedProcedure.cpp.o
1807.899 [331/28/7014] Building CXX object tools/flang/lib/Optimizer/Transforms/CMakeFiles/FIRTransforms.dir/CUFComputeSharedMemoryOffsetsAndSize.cpp.o

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 3, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-hwasan running on sanitizer-buildbot11 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=hwaddress'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, hwasan, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, lsan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11270 of 11289 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11200 of 11270)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14
Step 10 (stage2/hwasan check-cxx) failure: stage2/hwasan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=hwaddress'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, hwasan, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, lsan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11270 of 11289 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11200 of 11270)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/libcxx_build_hwasan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-hwasan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 3, 2025

LLVM Buildbot has detected a new failure on builder llvm-clang-win-x-aarch64 running on as-builder-2 while building llvm at step 14 "test-check-cxxabi-aarch64-unknown-linux-gnu".

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

Here is the relevant piece of the build log for the reference
Step 14 (test-check-cxxabi-aarch64-unknown-linux-gnu) failure: Test just built components: check-cxxabi-aarch64-unknown-linux-gnu completed (failure)
******************** TEST 'llvm-libc++abi-static.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_demangle
# executed command: tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# RUN: at line 5
tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_demangle
# executed command: tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# RUN: at line 6
diff C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_demangle C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_demangle
# executed command: diff 'C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_demangle' 'C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_demangle'
# RUN: at line 8
tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_nodes
# executed command: tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# RUN: at line 9
tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_nodes
# executed command: tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# RUN: at line 10
diff C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_nodes C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_nodes
# executed command: diff 'C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_nodes' 'C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_nodes'
# RUN: at line 12
tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_extras
# executed command: tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# RUN: at line 13
tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_extras
# executed command: tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# RUN: at line 14
diff C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_extras C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_extras
# executed command: diff 'C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_extras' 'C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_extras'
# RUN: at line 16
tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/libcxxabi/src/demangle/Utility.h > C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_utility
# executed command: tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/libcxxabi/src/demangle/Utility.h
# RUN: at line 17
tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/runtimes/../llvm/include/llvm/Demangle/Utility.h > C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_utility
# executed command: tail -n +3 C:/buildbot/as-builder-2/x-aarch64/llvm-project/runtimes/../llvm/include/llvm/Demangle/Utility.h
# RUN: at line 18
diff C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_utility C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_utility
# executed command: diff 'C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_utility' 'C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_utility'
# .---command stdout------------
# | *** C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.libcxxabi_utility
# | --- C:\buildbot\as-builder-2\x-aarch64\build\runtimes\runtimes-aarch64-unknown-linux-gnu-bins\libcxxabi\test\Output\itanium_demangle_matches_llvm.sh.test.dir\t.tmp.llvm_utility
# | ***************
# | *** 79,85 ****
# |     OutputBuffer(const OutputBuffer &) = delete;
# |     OutputBuffer &operator=(const OutputBuffer &) = delete;
# |   
# | !   virtual ~OutputBuffer() {}
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 3, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-ubsan running on sanitizer-buildbot10 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize=float-divide-by-zero -fno-sanitize-recover=all'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, objective-c++, optimization=none, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, ubsan, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11272 of 11289 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11211 of 11272)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14
Step 10 (stage2/ubsan check-cxx) failure: stage2/ubsan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize=float-divide-by-zero -fno-sanitize-recover=all'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, objective-c++, optimization=none, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, ubsan, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11272 of 11289 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11211 of 11272)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 3, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-msan running on sanitizer-buildbot6 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=memory'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, msan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=x86_64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11275 of 11289 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11224 of 11275)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14
Step 10 (stage2/msan check-cxx) failure: stage2/msan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=memory'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, msan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=x86_64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11275 of 11289 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11224 of 11275)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 3, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-asan running on sanitizer-buildbot7 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=address'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, asan, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, lsan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11272 of 11289 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11208 of 11272)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14
Step 10 (stage2/asan check-cxx) failure: stage2/asan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=address'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, asan, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, lsan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11272 of 11289 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11208 of 11272)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 3, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-aarch64-linux-bootstrap-msan running on sanitizer-buildbot9 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=memory'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, msan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11270 of 11289 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11205 of 11270)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14
Step 10 (stage2/msan check-cxx) failure: stage2/msan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=aarch64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=memory'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, msan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=aarch64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11270 of 11289 tests, 72 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11205 of 11270)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/libcxx_build_msan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-aarch64-linux-bootstrap-msan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 3, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-ubsan running on sanitizer-buildbot4 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize=float-divide-by-zero -fno-sanitize-recover=all'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, objective-c++, optimization=none, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=x86_64-unknown-linux-gnu, ubsan, verify-support
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11275 of 11289 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11231 of 11275)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14
Step 10 (stage2/ubsan check-cxx) failure: stage2/ubsan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=undefined -fno-sanitize=float-divide-by-zero -fno-sanitize-recover=all'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, objective-c++, optimization=none, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=x86_64-unknown-linux-gnu, ubsan, verify-support
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11275 of 11289 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11231 of 11275)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/libcxx_build_ubsan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14

@llvm-ci
Copy link
Collaborator

llvm-ci commented Nov 3, 2025

LLVM Buildbot has detected a new failure on builder sanitizer-x86_64-linux-bootstrap-asan running on sanitizer-buildbot1 while building llvm at step 2 "annotate".

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

Here is the relevant piece of the build log for the reference
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=address'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, asan, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, lsan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=x86_64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11275 of 11289 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11223 of 11275)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14
Step 10 (stage2/asan check-cxx) failure: stage2/asan check-cxx (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{cxx} substitution: '/home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm_build0/bin/clang++'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{flags} substitution: '-pthread --target=x86_64-unknown-linux-gnu -g -fno-omit-frame-pointer -fsanitize=address'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{compile_flags} substitution: '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support -std=c++26 -Werror -Wall -Wctad-maybe-unsupported -Wextra -Wshadow -Wundef -Wunused-template -Wno-unused-command-line-argument -Wno-attributes -Wno-pessimizing-move -Wno-noexcept-type -Wno-atomic-alignment -Wno-reserved-module-identifier -Wdeprecated-copy -Wdeprecated-copy-dtor -Wshift-negative-value -Wno-user-defined-literals -Wno-tautological-compare -Wsign-compare -Wunused-variable -Wunused-parameter -Wunreachable-code -Wno-unused-local-typedef -Wno-local-type-template-args -Wno-c++11-extensions -Wno-unknown-pragmas -Wno-pass-failed -Wno-mismatched-new-delete -Wno-redundant-move -Wno-self-move -Wno-nullability-completeness -flax-vector-conversions=none -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -D_LIBCPP_ENABLE_EXPERIMENTAL -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -Wuser-defined-warnings'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{link_flags} substitution: '-lc++experimental -nostdlib++ -L %{lib-dir} -Wl,-rpath,%{lib-dir} -lc++ -latomic'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{benchmark_flags} substitution: '-I /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/include -L /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/lib -L /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxx/test/benchmarks/google-benchmark/lib64 -l benchmark'
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) Using %{exec} substitution: '%{executor} --execdir %{temp} -- '
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxx/utils/libcxx/test/config.py:24: note: (llvm-libc++-shared.cfg.in) All available features: add-latomic-workaround, asan, buildhost=linux, c++26, c++experimental, can-create-symlinks, character-conversion-warnings, clang, clang-22, clang-22.0, clang-22.0.0, diagnose-if-support, enable-benchmarks=no, gcc-style-warnings, glibc-old-ru_RU-decimal-point, has-1024-bit-atomics, has-64-bit-atomics, has-fblocks, has-fconstexpr-steps, has-unix-headers, large_tests, libcpp-abi-version=1, libcpp-hardening-mode=none, libcpp-has-no-availability-markup, libcpp-has-thread-api-pthread, linux, lsan, objective-c++, optimization=none, sanitizer-new-delete, std-at-least-c++03, std-at-least-c++11, std-at-least-c++14, std-at-least-c++17, std-at-least-c++20, std-at-least-c++23, std-at-least-c++26, stdlib=libc++, stdlib=llvm-libc++, target=x86_64-unknown-linux-gnu, verify-support
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/llvm/utils/lit/lit/main.py:74: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 1500 seconds was requested on the command line. Forcing timeout to be 1500 seconds.
-- Testing: 11275 of 11289 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test (11223 of 11275)
******************** TEST 'llvm-libc++abi-shared.cfg.in :: itanium_demangle_matches_llvm.sh.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 4
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 5
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumDemangle.h
# note: command had no output on stdout or stderr
# RUN: at line 6
diff /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_demangle /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_demangle
# note: command had no output on stdout or stderr
# RUN: at line 8
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 9
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/ItaniumNodes.def
# note: command had no output on stdout or stderr
# RUN: at line 10
diff /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# executed command: diff /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_nodes /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_nodes
# note: command had no output on stdout or stderr
# RUN: at line 12
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/libcxxabi/src/demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 13
tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h > /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/libcxx_build_asan/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_extras
# executed command: tail -n +3 /home/b/sanitizer-x86_64-linux-bootstrap-asan/build/llvm-project/runtimes/../llvm/include/llvm/Demangle/StringViewExtras.h
# note: command had no output on stdout or stderr
# RUN: at line 14

@frederick-vs-ja
Copy link
Contributor

frederick-vs-ja commented Nov 3, 2025

This caused CI failures in libcxxabi test.

  # .---command stdout------------
  # | *** /home/gha/actions-runner/_work/llvm-project/llvm-project/build/generic-cxx03/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.libcxxabi_utility
  # | --- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/generic-cxx03/libcxxabi/test/Output/itanium_demangle_matches_llvm.sh.test.dir/t.tmp.llvm_utility
  # | ***************
  # | *** 79,85 ****
  # |     OutputBuffer(const OutputBuffer &) = delete;
  # |     OutputBuffer &operator=(const OutputBuffer &) = delete;
  # |   
  # | !   virtual ~OutputBuffer() {}
  # |   
  # |     operator std::string_view() const {
  # |       return std::string_view(Buffer, CurrentPosition);
  # | --- 79,85 ----
  # |     OutputBuffer(const OutputBuffer &) = delete;
  # |     OutputBuffer &operator=(const OutputBuffer &) = delete;
  # |   
  # | !   virtual ~OutputBuffer() = default;
  # |   
  # |     operator std::string_view() const {
  # |       return std::string_view(Buffer, CurrentPosition);
  # `-----------------------------
  # error: command failed with exit status: 1

We probably also need to change libcxxabi/src/demangle/Utility.h. Opened #166117 for this.

@frederick-vs-ja
Copy link
Contributor

Looks like that we need to run libc++abi tests when changes are made in llvm/Demangle, per itanium_demangle_matches_llvm.sh.test.

@boomanaiden154
Copy link
Contributor

Fixed in c946b96. Note that this failed in premerge CI with the exact same failure it failed with postcommit.

@jh7370
Copy link
Collaborator

jh7370 commented Nov 3, 2025

Is there some sort of coding standard rule for this change? I'm not convinced personally that = default is better than {} and I suspect it will be routinely ignored, especially without a coding standard rule to enforce it...

Copy link
Contributor

@fhahn fhahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there some sort of coding standard rule for this change? I'm not convinced personally that = default is better than {} and I suspect it will be routinely ignored, especially without a coding standard rule to enforce it...

I'm curious about this as well, especially as {} is slightly more compact :)

DEBADRIBASAK pushed a commit to DEBADRIBASAK/llvm-project that referenced this pull request Nov 3, 2025
Identified with modernize-use-equals-default.
DavidSpickett added a commit that referenced this pull request Nov 3, 2025
Originally done in #166088.

This broke 2 of our Flang builds with this error:
FAILED: examples/OptSubcommand/CMakeFiles/OptSubcommand.dir/llvm-hello-sub.cpp.o
/usr/local/bin/c++ <..> -c /home/tcwg-buildbot/worker/flang-aarch64-rel-assert/llvm-project/llvm/examples/OptSubcommand/llvm-hello-sub.cpp
../llvm-project/llvm/examples/OptSubcommand/llvm-hello-sub.cpp:49:51: error: expected '{' or ','
   49 |                         OptionSubCommandIDsTable) = default;
      |                                                   ^
@DavidSpickett
Copy link
Collaborator

DavidSpickett commented Nov 3, 2025

I had to remove (a3c4fe2) one of these changes to fix a couple of our Flang builds.

I don't know if that code should have been accepted but clang 21.1.1 did not allow it. If you got that from an automatic checker and it is not correct, see if you need to file a bug with that tool.

@boomanaiden154
Copy link
Contributor

I had to remove (a3c4fe2) one of these changes to fix a couple of our Flang builds.

This might be something specific to your setup. It looks like flang built fine in premerge with this configuration, and we use clang 21.x.

@DavidSpickett
Copy link
Collaborator

DavidSpickett commented Nov 3, 2025

I should have been clearer, the error comes from our Flang bots but only because they are the ones enabling LLVM's examples.

My understanding is that you cannot = default if you have a member initialiser list as well. Example - https://godbolt.org/z/fj5schPK9

In the CI log I see LLVM_BUILD_EXAMPLES=ON but no sign of any files in llvm/examples being built. Only ones from MLIR and Flang. I suspect that they are not included in ninja check-llvm.

Edit: I did a build and they are not, unless I missed something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants