[PATCH] Trivial fixes for the C API
Peter Zotov
whitequark at whitequark.org
Tue Jan 29 16:27:21 PST 2013
Hello.
Two patches are attached.
[PATCH 1/2] Fix error message in LLVMTargetMachineEmitToFile.
This patch fixes an error message in the corresponding function, which
incorrectly stated that "No DataLayout in TargetMachine", whereas the
actual
failure was that it was unable to locate passes to emit assembly or the
object
file, i.e. AsmPrinter or MC were not loaded.
[PATCH 2/2] Use LLVMBool instead of bool in
LLVMPassManagerBuilderPopulateLTOPassManager.
This patch fixes usage of `bool' in the C API, replacing it with
generally used LLVMBool.
--
WBR, Peter Zotov.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-error-message-in-LLVMTargetMachineEmitToFile.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130130/9bb3ef15/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Use-LLVMBool-instead-of-bool-in-LLVMPassManagerBuild.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130130/9bb3ef15/attachment-0001.ksh>
More information about the llvm-commits
mailing list