[PATCH] XCore target: Add TypeString meta data to IR output.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Mar 5 15:13:13 PST 2014


Please use the current naming convesion, so emitTargetMD. Eric has
worked more with medatata (for debug info) and probably has a better
idea than I if this is the correct way to plug it.

Can you describe a bit what this metadata is?

On 3 March 2014 13:42, robert lytton <robert at xmos.com> wrote:
> Hi friedgold, rafael,
>
> This includes the addition of the virtual function:
>         virtual void TargetCodeGenInfo::EmitTargetMD(const Decl *D, llvm::GlobalValue *GV, CodeGen::CodeGenModule &M) const { }
>
> Richard Osborne to review from XCore perspective
> Also need review from Clang viewpoint re: EmitTargetMD - Rafael, can you?
> Also the code correctness - Richard again.
>
> Thank you
>
> Robert
>
>
> http://llvm-reviews.chandlerc.com/D2929
>
> Files:
>   lib/CodeGen/CodeGenModule.cpp
>   lib/CodeGen/TargetInfo.cpp
>   lib/CodeGen/TargetInfo.h
>   test/CodeGen/xcore-stringtype.c



More information about the llvm-commits mailing list