diff options
-rw-r--r-- | include/llvm-c/Object.h | 2 | ||||
-rw-r--r-- | lib/Object/Object.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm-c/Object.h b/include/llvm-c/Object.h index 35706f5874..91dc274267 100644 --- a/include/llvm-c/Object.h +++ b/include/llvm-c/Object.h @@ -58,7 +58,7 @@ const char *LLVMGetSectionName(LLVMSectionIteratorRef SI); uint64_t LLVMGetSectionSize(LLVMSectionIteratorRef SI); const char *LLVMGetSectionContents(LLVMSectionIteratorRef SI); uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI); -int LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, +LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym); // SymbolRef accessors diff --git a/lib/Object/Object.cpp b/lib/Object/Object.cpp index 638105b56b..dea1466f0b 100644 --- a/lib/Object/Object.cpp +++ b/lib/Object/Object.cpp @@ -104,7 +104,7 @@ uint64_t LLVMGetSectionAddress(LLVMSectionIteratorRef SI) { return ret; } -int LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, +LLVMBool LLVMGetSectionContainsSymbol(LLVMSectionIteratorRef SI, LLVMSymbolIteratorRef Sym) { bool ret; if (error_code ec = (*unwrap(SI))->containsSymbol(**unwrap(Sym), ret)) |