[ping] [PATCH] Trivial fixes for the C API
Peter Zotov
whitequark at whitequark.org
Fri Feb 1 21:24:49 PST 2013
Peter Zotov писал 30.01.2013 04:27:
> 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.
Are there any problems with these patches which I need to fix before
they
get merged?
--
WBR, Peter Zotov.
More information about the llvm-commits
mailing list