search for: shf_mips_nostrip

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

2012 Dec 15
0
[LLVMdev] Setting ELF section alignment at the Target level
...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 hope I just missed the obvious. I'd also would like the ability to...