search for: sht_mips_options

Displaying 1 result from an estimated 1 matches for "sht_mips_options".

2012 Dec 15
0
[LLVMdev] Setting ELF section alignment at the Target level
...ts written out, but don't see how I can set the alignment without first having an MCAssembler object handy. I am patterning after existing code for .sbss In MipsTargetObjectFile.cpp: ReginfoSection = getContext().getELFSection(".MIPS.options", ELF::SHT_MIPS_OPTIONS, ELF::SHF_ALLOC |ELF::SHF_MIPS_NOSTRIP, SectionKind::getMetadata()); ReginfoSection is defined as a MCSection *. Dumping information to the out streamer is simple: OutStreamer.SwitchSection(ReginfoSection); It should be simple. I h...