forked from OSchip/llvm-project
Fix -Wunused-function to unbreak buildbot.
llvm-svn: 196716
This commit is contained in:
parent
5af4622f30
commit
2994f6f772
|
@ -23,6 +23,7 @@ using namespace lld;
|
|||
static bool compareAtoms(const LayoutPass::SortKey &,
|
||||
const LayoutPass::SortKey &);
|
||||
|
||||
#ifndef NDEBUG
|
||||
// Return "reason (leftval, rightval)"
|
||||
static std::string formatReason(StringRef reason, int leftVal, int rightVal) {
|
||||
Twine msg =
|
||||
|
@ -41,6 +42,7 @@ static void checkTransitivity(std::vector<LayoutPass::SortKey> &vec) {
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif // #ifndef NDEBUG
|
||||
|
||||
/// The function compares atoms by sorting atoms in the following order
|
||||
/// a) Sorts atoms by Section position preference
|
||||
|
|
Loading…
Reference in New Issue