summaryrefslogtreecommitdiff
path: root/lib/MC/MCDisassembler
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2012-02-17 19:26:00 +0000
committerKevin Enderby <enderby@apple.com>2012-02-17 19:26:00 +0000
commitd9165eb02fadbef35bc75490854c11dcfd28a920 (patch)
tree388abb5059216d3ef98a4e2d0513480d0697ec2e /lib/MC/MCDisassembler
parent2420b558de5d291d8503c1339004e5b5bf99a48a (diff)
downloadllvm-d9165eb02fadbef35bc75490854c11dcfd28a920.tar.gz
llvm-d9165eb02fadbef35bc75490854c11dcfd28a920.tar.bz2
llvm-d9165eb02fadbef35bc75490854c11dcfd28a920.tar.xz
Fix typo in comment ldopen() -> dlopen().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCDisassembler')
-rw-r--r--lib/MC/MCDisassembler/Disassembler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCDisassembler/Disassembler.cpp b/lib/MC/MCDisassembler/Disassembler.cpp
index c6c67c5231..3de6f64e97 100644
--- a/lib/MC/MCDisassembler/Disassembler.cpp
+++ b/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();