diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/SandboxIR/Pass.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/SandboxIR/Pass.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/lib/SandboxIR/Pass.cpp b/contrib/llvm-project/llvm/lib/SandboxIR/Pass.cpp new file mode 100644 index 000000000000..64e1b609a9f4 --- /dev/null +++ b/contrib/llvm-project/llvm/lib/SandboxIR/Pass.cpp @@ -0,0 +1,19 @@ +//===- Pass.cpp - Passes that operate on Sandbox IR -----------------------===// +// +// 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 +// +//===----------------------------------------------------------------------===// + +#include "llvm/SandboxIR/Pass.h" +#include "llvm/Support/Debug.h" + +using namespace llvm::sandboxir; + +#ifndef NDEBUG +void Pass::dump() const { + print(dbgs()); + dbgs() << "\n"; +} +#endif // NDEBUG |
