[LLVMdev] X86AsmPrinter + MASM and NASM backends

Jeff Cohen jeffc at jolt-lang.org
Fri Jul 1 18:54:42 PDT 2005


I am now getting the following link errors on all executables:

x86.lib(X86AsmPrinter.obj) : error LNK2001: unresolved external symbol 
"public: virtual bool __thiscall 
llvm::x86::X86ATTAsmPrinter::runOnMachineFunction(class 
llvm::MachineFunction &)" 
(?runOnMachineFunction at X86ATTAsmPrinter@x86 at llvm@@UAE_NAAVMachineFunction at 3@@Z)
x86.lib(X86AsmPrinter.obj) : error LNK2001: unresolved external symbol 
"public: virtual bool __thiscall 
llvm::x86::X86IntelAsmPrinter::runOnMachineFunction(class 
llvm::MachineFunction &)" 
(?runOnMachineFunction at X86IntelAsmPrinter@x86 at llvm@@UAE_NAAVMachineFunction at 3@@Z)
x86.lib(X86AsmPrinter.obj) : error LNK2001: unresolved external symbol 
"public: virtual bool __thiscall 
llvm::x86::X86IntelAsmPrinter::doInitialization(class llvm::Module &)" 
(?doInitialization at X86IntelAsmPrinter@x86 at llvm@@UAE_NAAVModule at 3@@Z)


Aaron Gray wrote:

> Chris,
>
> Okay, I have done as you have requested.
>
> The only thing I did not like was a clsh between the enum X86 and the 
> new namespace X86, which I had to rename as x86 :(
>
> Anyway, I suppose the lower case 'x' in 'x86' fits in with the 
> lowercase 'llvm' namespace.
>
> Build tested on MS VC2003 and Linux.
>
> Aaron
>
>------------------------------------------------------------------------
>
>_______________________________________________
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
>  
>




More information about the llvm-dev mailing list