search for: subratgetinfo

Displaying 2 results from an estimated 2 matches for "subratgetinfo".

2012 Dec 17
0
[LLVMdev] [MC] [llvm-mc] Getting target specific information to <target>ELFObjectWriter
...target>GenSubtargetInfo <target>Subtarget <target>Subtarget is created through TargetMachine and is codegen centric. For the standalone assembler and the clang this isn't the case. A straight SubtargetInfo object is created. >From here I added a single data member to the SubratgetInfo class that could be used as a message board so when one is in a method like MipsELFObjectWriter::getEFlags() one could access the information in a common manner. I made the message board a set with the tag being an integer so each target which chooses to use it could create their own enumerations...
2012 Dec 15
2
[LLVMdev] [MC] [llvm-mc] Getting target specific information to <target>ELFObjectWriter
On Fri, Dec 14, 2012 at 1:03 PM, Carter, Jack <jcarter at mips.com> wrote: > Eli, > > This is the kind of feedback I want. I believe I have to add to the base class so it should be generally useful. I can see string being better for the value. I still am enamoured with an enumeration for the tab though: int->string. How would that be a limitation? > I guess that's fine,