[llvm-commits] InitializeNativeAsmPrinter implementation

Xerxes Ranby xerxes at zafena.se
Sun Sep 5 15:34:48 PDT 2010


Chris Lattner wrote:
> On Jul 22, 2010, at 8:50 AM, Jan Sjodin wrote:
>
>   
>> This patch is to prepare for MCJIT. I had to normalized the names for
>> the initializers to have "Target" in the name to be able to use the
>> LLVM_NATIVE_ARCH in the macros.
>>     
>
> Hi Jan,
>
> This patch applies but doesn't build correctly:
>
> In file included from EDDisassembler.cpp:37:
> /Volumes/Data/Users/sabre/llvm/include/llvm/Target/TargetSelect.h:123:5: error: 
>       use of undeclared identifier 'LLVMInitializeX86AsmPrinter'; did you mean
>       'LLVMInitializeX86TargetAsmPrinter'?
>     LLVM_NATIVE_ASMPRINTER();
>     ^~~~~~~~~~~~~~~~~~~~~~
>
>
> Can you update it for mainline?
>
> -Chris
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>   
Jans patch have already got merged into trunk on the on 1st of August.
http://llvm.org/viewvc/llvm-project?view=rev&revision=109996

It is quite odd that this old patch did apply a second time since the 
TargetSelect file have evolved quite much since back then.

The InitializeNativeTargetAsmPrinter() are part of the branched LLVM 2.8 
API.

Nothing to worry about.
Cheers, and have a great day!
Xerxes



More information about the llvm-commits mailing list