//===- ReduceDIMetadata.cpp - Specialized Delta pass for DebugInfo --------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements two functions used by the Generic Delta Debugging // Algorithm, which are used to reduce DebugInfo metadata nodes. // //===----------------------------------------------------------------------===// #include "ReduceDIMetadata.h" #include "Delta.h" #include "llvm/ADT/Sequence.h" #include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallVector.h" #include "llvm/IR/DebugInfoMetadata.h" #include "llvm/IR/InstIterator.h" #include <tuple> #include <vector> usingnamespacellvm; MDNodeList; void identifyUninterestingMDNodes(Oracle &O, MDNodeList &MDs) { … } static void extractDIMetadataFromModule(Oracle &O, ReducerWorkItem &WorkItem) { … } void llvm::reduceDIMetadataDeltaPass(TestRunner &Test) { … }