Added unsigned endianity field to hold DW_AT_endianity in DIBasicType with default constructor support listed as per DWARF v4.
This is part of initial work which will extend to LLParser, ASMParser/Writer to read/write endianity to/from asm/obj file, also to the api DICreateBasicType to support endianity with default parameter.
Details
Details
- Reviewers
echristo dblaikie aprantl dexonsmith
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hello All,
Apologies in advance if review is not posted properly.
Regards,
Chirag Patel.
Comment Actions
I don't necessarily think this should be part of DIBasicType since it'll be used almost never. Adding other reviewers to get thoughts on location.
-eric
Comment Actions
Seems reasonable to me. Might need a tristate or something, but that's what enums and masking are for.
Comment Actions
Thank you guys for the help.
I will try and use DIFlags instead.
I will wait for adrian for any comment.
Regards,
Chirag Patel.