Skip to content
Commit 5511861e authored by Fangrui Song's avatar Fangrui Song
Browse files

[MC][ARM] Delete MCSection::HasData and move SHF_ARM_PURECODE logic to...

[MC][ARM] Delete MCSection::HasData and move SHF_ARM_PURECODE logic to ARMELFObjectWriter::addTargetSectionFlags

This simplifies the generic interface and also makes SHF_ARM_PURECODE
more robust (fixes a TODO). Inspecting MCDataFragment contents covers
more cases than MCObjectStreamer::EmitBytes.
parent 35efef53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment