The lack some virtual deconstructors where causing some builds bots to fail.
This patch fixes that.
Problematic commit:
https://reviews.llvm.org/rGeaf1b6810ce0f40008b2b1d902750eafa3e198d3
Build bot:
https://lab.llvm.org/buildbot/#/builders/18/builds/1741
struct AACallGraphNode {
AACallGraphNode(Attributor &A) : A(A) {}
+ virtual ~AACallGraphNode() {}
virtual AACallEdgeIterator optimisticEdgesBegin() const = 0;
virtual AACallEdgeIterator optimisticEdgesEnd() const = 0;
// Synthetic root node for the Attributor's internal call graph.
struct AttributorCallGraph : public AACallGraphNode {
AttributorCallGraph(Attributor &A) : AACallGraphNode(A) {}
+ virtual ~AttributorCallGraph() {}
AACallEdgeIterator optimisticEdgesBegin() const override {
return AACallEdgeIterator(A, A.Functions.begin());