From 1eb5cd9b746c2f56cd25711f823fd942bab3a161 Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Fri, 17 Feb 2012 19:26:00 +0000 Subject: Fix typo in comment ldopen() -> dlopen(). llvm-svn: 150836 --- llvm/lib/MC/MCDisassembler/Disassembler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp') diff --git a/llvm/lib/MC/MCDisassembler/Disassembler.cpp b/llvm/lib/MC/MCDisassembler/Disassembler.cpp index c6c67c5..3de6f64 100644 --- a/llvm/lib/MC/MCDisassembler/Disassembler.cpp +++ b/llvm/lib/MC/MCDisassembler/Disassembler.cpp @@ -40,7 +40,7 @@ LLVMDisasmContextRef LLVMCreateDisasm(const char *TripleName, void *DisInfo, // FIXME: Clients are responsible for initializing the targets. And this // would be done by calling routines in "llvm-c/Target.h" which are static // line functions. But the current use of LLVMCreateDisasm() is to dynamically - // load libLTO with ldopen() and then lookup the symbols using dlsym(). + // load libLTO with dlopen() and then lookup the symbols using dlsym(). // And since these initialize routines are static that does not work which // is why the call to them in this 'C' library API was added back. llvm::InitializeAllTargetInfos(); -- cgit v1.1