mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Make sure any client of Dominators.h links in Dominators.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16986 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
979c38ba20
commit
5fb00c5893
@ -268,6 +268,9 @@ struct DominatorSet : public DominatorSetBase {
|
||||
AU.addRequired<ImmediateDominators>();
|
||||
AU.setPreservesAll();
|
||||
}
|
||||
|
||||
// stub - dummy function, just ignore it
|
||||
static void stub();
|
||||
};
|
||||
|
||||
|
||||
@ -506,6 +509,9 @@ private:
|
||||
const DominatorTree::Node *Node);
|
||||
};
|
||||
|
||||
// Make sure that any clients of this file link in Dominators.cpp
|
||||
static IncludeFile
|
||||
DOMINATORS_INCLUDE_FILE((void*)&DominatorSet::stub);
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user