[cfe-dev] llvm link error : error LNK2019 unresolved external symbols

ogzu rasa via cfe-dev cfe-dev at lists.llvm.org
Tue Jul 31 05:55:28 PDT 2018


Thanks.

Le lun. 30 juil. 2018 à 15:38, <paul.robinson at sony.com> a écrit :

> The dwarf:: functions should be in LLVMBinaryFormat.lib.
>
> --paulr
>
>
>
> *From:* cfe-dev [mailto:cfe-dev-bounces at lists.llvm.org] *On Behalf Of *ogzu
> rasa via cfe-dev
> *Sent:* Sunday, July 29, 2018 5:31 AM
> *To:* clang_dev
> *Subject:* [cfe-dev] llvm link error : error LNK2019 unresolved external
> symbols
>
>
>
> Hello,
>
> Can anyone tell me which libs I'm mis
>
>
>
> 1>LLVMCore.lib(AsmWriter.obj) : error LNK2019: symbole externe non résolu
> "class llvm::StringRef __cdecl llvm::dwarf::TagString(unsigned int)"
> (?TagString at dwarf@llvm@@YA?AVStringRef at 2@I at Z) référencé dans la fonction
> "public: void __thiscall `anonymous
> namespace'::MDFieldPrinter::printTag(class llvm::DINode const *)"
> (?printTag at MDFieldPrinter@?A0x0dd23be0@@QAEXPBVDINode at llvm@@@Z)
>
> 1>LLVMCore.lib(AsmWriter.obj) : error LNK2019: symbole externe non résolu
> "class llvm::StringRef __cdecl
> llvm::dwarf::OperationEncodingString(unsigned int)"
> (?OperationEncodingString at dwarf@llvm@@YA?AVStringRef at 2@I at Z) référencé
> dans la fonction "void __cdecl writeDIExpression(class llvm::raw_ostream
> &,class llvm::DIExpression const *,class `anonymous
> namespace'::TypePrinting *,class llvm::SlotTracker *,class llvm::Module
> const *)" (?writeDIExpression@@YAXAAVraw_ostream at llvm@@PBVDIExpression at 2
> @PAVTypePrinting@?A0x0dd23be0@@PAVSlotTracker at 2@PBVModule at 2@@Z)
>
> 1>LLVMCore.lib(AsmWriter.obj) : error LNK2019: symbole externe non résolu
> "class llvm::StringRef __cdecl
> llvm::dwarf::AttributeEncodingString(unsigned int)"
> (?AttributeEncodingString at dwarf@llvm@@YA?AVStringRef at 2@I at Z) référencé
> dans la fonction "void __cdecl writeDIBasicType(class llvm::raw_ostream
> &,class llvm::DIBasicType const *,class `anonymous namespace'::TypePrinting
> *,class llvm::SlotTracker *,class llvm::Module const *)" (?writeDIBasicType@
> @YAXAAVraw_ostream at llvm@@PBVDIBasicType at 2@PAVTypePrinting@?A0x0dd23be0@
> @PAVSlotTracker at 2@PBVModule at 2@@Z)
>
> 1>LLVMCore.lib(AsmWriter.obj) : error LNK2019: symbole externe non résolu
> "class llvm::StringRef __cdecl llvm::dwarf::VirtualityString(unsigned int)"
> (?VirtualityString at dwarf@llvm@@YA?AVStringRef at 2@I at Z) référencé dans la
> fonction "void __cdecl writeDISubprogram(class llvm::raw_ostream &,class
> llvm::DISubprogram const *,class `anonymous namespace'::TypePrinting
> *,class llvm::SlotTracker *,class llvm::Module const *)"
> (?writeDISubprogram@@YAXAAVraw_ostream at llvm@@PBVDISubprogram at 2
> @PAVTypePrinting@?A0x0dd23be0@@PAVSlotTracker at 2@PBVModule at 2@@Z)
>
> 1>LLVMCore.lib(AsmWriter.obj) : error LNK2019: symbole externe non résolu
> "class llvm::StringRef __cdecl llvm::dwarf::LanguageString(unsigned int)"
> (?LanguageString at dwarf@llvm@@YA?AVStringRef at 2@I at Z) référencé dans la
> fonction "void __cdecl writeDICompositeType(class llvm::raw_ostream &,class
> llvm::DICompositeType const *,class `anonymous namespace'::TypePrinting
> *,class llvm::SlotTracker *,class llvm::Module const *)"
> (?writeDICompositeType@@YAXAAVraw_ostream at llvm@@PBVDICompositeType at 2
> @PAVTypePrinting@?A0x0dd23be0@@PAVSlotTracker at 2@PBVModule at 2@@Z)
>
> 1>LLVMCore.lib(AsmWriter.obj) : error LNK2019: symbole externe non résolu
> "class llvm::StringRef __cdecl llvm::dwarf::ConventionString(unsigned int)"
> (?ConventionString at dwarf@llvm@@YA?AVStringRef at 2@I at Z) référencé dans la
> fonction "void __cdecl writeDISubroutineType(class llvm::raw_ostream
> &,class llvm::DISubroutineType const *,class `anonymous
> namespace'::TypePrinting *,class llvm::SlotTracker *,class llvm::Module
> const *)" (?writeDISubroutineType@@YAXAAVraw_ostream at llvm
> @@PBVDISubroutineType at 2@PAVTypePrinting@?A0x0dd23be0@@PAVSlotTracker at 2
> @PBVModule at 2@@Z)
>
> 1>LLVMCore.lib(AsmWriter.obj) : error LNK2019: symbole externe non résolu
> "class llvm::StringRef __cdecl llvm::dwarf::MacinfoString(unsigned int)"
> (?MacinfoString at dwarf@llvm@@YA?AVStringRef at 2@I at Z) référencé dans la
> fonction "public: void __thiscall `anonymous
> namespace'::MDFieldPrinter::printMacinfoType(class llvm::DIMacroNode const
> *)" (?printMacinfoType at MDFieldPrinter@?A0x0dd23be0@
> @QAEXPBVDIMacroNode at llvm@@@Z)
>
>
>
>
>
> many thanks,
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180731/40383f73/attachment.html>


More information about the cfe-dev mailing list