summaryrefslogtreecommitdiff
path: root/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
commitf6de55f5d40c498d3bc2d74cf169e5ad135f9215 (patch)
tree3e7d77a02b47a47622c8c35517b3ab45e8cfe46c /include
parente3d60ac33421a69545e2989b890899d76a918d2f (diff)
downloadllvm-f6de55f5d40c498d3bc2d74cf169e5ad135f9215.tar.gz
llvm-f6de55f5d40c498d3bc2d74cf169e5ad135f9215.tar.bz2
llvm-f6de55f5d40c498d3bc2d74cf169e5ad135f9215.tar.xz
Fix parameter ordering bug in createDebugIRPass()
- Thanks to Ilia Filippov for pointing out the inconsistency! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Instrumentation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
index de397af5bd..d1b6fe103c 100644
--- a/include/llvm/Transforms/Instrumentation.h
+++ b/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