From f6de55f5d40c498d3bc2d74cf169e5ad135f9215 Mon Sep 17 00:00:00 2001 From: Daniel Malea Date: Tue, 30 Jul 2013 16:16:11 +0000 Subject: [PATCH] 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 --- include/llvm/Transforms/Instrumentation.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h index de397af5bd0..d1b6fe103ce 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