[llvm] r187424 - Fix parameter ordering bug in createDebugIRPass()
Daniel Malea
daniel.malea at intel.com
Tue Jul 30 09:16:11 PDT 2013
Author: dmalea
Date: Tue Jul 30 11:16:11 2013
New Revision: 187424
URL: http://llvm.org/viewvc/llvm-project?rev=187424&view=rev
Log:
Fix parameter ordering bug in createDebugIRPass()
- Thanks to Ilia Filippov for pointing out the inconsistency!
Modified:
llvm/trunk/include/llvm/Transforms/Instrumentation.h
Modified: llvm/trunk/include/llvm/Transforms/Instrumentation.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Instrumentation.h?rev=187424&r1=187423&r2=187424&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Instrumentation.h (original)
+++ llvm/trunk/include/llvm/Transforms/Instrumentation.h Tue Jul 30 11:16:11 2013
@@ -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
More information about the llvm-commits
mailing list