[LLVMdev] X86AsmPrinter + MASM and NASM backends

Jeff Cohen jeffc at jolt-lang.org
Fri Jul 1 19:04:39 PDT 2005


Fixed it.  You did not add the new files to Visual Studio (or at least 
forgot to include x86.vcproj with the other files).

Jeff Cohen wrote:

> 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
>>  
>>
>
> _______________________________________________
> 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