From 788d126ca10beeb32d46a7327e71053764752374 Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Tue, 30 Jul 2013 16:16:11 +0000 Subject: Fix parameter ordering bug in createDebugIRPass() - Thanks to Ilia Filippov for pointing out the inconsistency! llvm-svn: 187424 --- llvm/include/llvm/Transforms/Instrumentation.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/include') 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 -- cgit v1.2.3