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

Daniel Sanders daniel.sanders at imgtec.com
Tue Oct 7 02:09:38 PDT 2014

I'm not sure Reloc::PIC_ is the right thing to test for since '.option pic0' can be used to temporarily disable PIC in a PIC object. I think that MipsAsmParser needs to keep track of the PIC mode itself and have '.option pic0' and '.option pic2' change it appropriately.


More information about the llvm-commits mailing list