summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorDaniel Malea <daniel.malea@intel.com>2013-07-30 16:16:11 +0000
committerDaniel Malea <daniel.malea@intel.com>2013-07-30 16:16:11 +0000
commit788d126ca10beeb32d46a7327e71053764752374 (patch)
tree9080b5a03c607a8162af6628489359ad0bf5afee /llvm/include
parenta4658a5c861ef4840afbfa4127938314d52cee88 (diff)
downloadbcm5719-llvm-788d126ca10beeb32d46a7327e71053764752374.tar.gz
bcm5719-llvm-788d126ca10beeb32d46a7327e71053764752374.zip
Fix parameter ordering bug in createDebugIRPass()
- Thanks to Ilia Filippov for pointing out the inconsistency! llvm-svn: 187424
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Transforms/Instrumentation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Transforms/Instrumentation.h b/llvm/include/llvm/Transforms/Instrumentation.h
index de397af5bd0..d1b6fe103ce 100644
--- a/llvm/include/llvm/Transforms/Instrumentation.h
+++ b/llvm/include/llvm/Transforms/Instrumentation.h
@@ -91,12 +91,12 @@ FunctionPass *createBoundsCheckingPass();
///
/// @param HideDebugIntrinsics Omit debug intrinsics in emitted IR source file.
/// @param HideDebugMetadata Omit debug metadata in emitted IR source file.
-/// @param Filename Embed this file name in the debug information.
/// @param Directory Embed this directory in the debug information.
+/// @param Filename Embed this file name in the debug information.
ModulePass *createDebugIRPass(bool HideDebugIntrinsics,
bool HideDebugMetadata,
- StringRef Filename = StringRef(),
- StringRef Directory = StringRef());
+ StringRef Directory = StringRef(),
+ StringRef Filename = StringRef());
/// createDebugIRPass - Enable interactive stepping through LLVM IR in LLDB
/// (or GDB) with an existing IR file on disk. When creating
OpenPOWER on IntegriCloud