[PATCH] [mips] Make the MipsAsmParser capable of knowing whether PIC mode is enabled or not.

Toma Tabacu toma.tabacu at imgtec.com
Mon Oct 6 09:08:19 PDT 2014


Hi dsanders,

This is needed for an upcoming patch which implements the .cprestore assembler directive.

This directive can only be used effectively in PIC mode.

By making this information available to the MipsAsmParser, we will know when to insert the instructions mandated by the .cprestore assembler directive and we will be able to give some useful warnings when we encounter a potential misuse of this directive.

http://reviews.llvm.org/D5626

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5626.14457.patch
Type: text/x-patch
Size: 792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141006/4a3b0367/attachment.bin>


More information about the llvm-commits mailing list