From 22a9e5bfd8d8a074c4ced6e651684a68423e9879 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 28 Sep 2006 16:53:47 +0000 Subject: [PATCH] Provide a gdb usage fix provided by Zhongzing Xu. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30645 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/WritingAnLLVMPass.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index d30960d39f0..b33edb0eb68 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -1593,7 +1593,7 @@ object. The most foolproof way of doing this is to set a breakpoint in want:

-(gdb) break PassManager::run
+(gdb) break llvm::PassManager::run
 Breakpoint 1 at 0x2413bc: file Pass.cpp, line 70.
 (gdb) run test.bc -load $(LLVMTOP)/llvm/Debug/lib/[libname].so -[passoption]
 Starting program: opt test.bc -load $(LLVMTOP)/llvm/Debug/lib/[libname].so -[passoption]
-- 
2.34.1