[all-commits] [llvm/llvm-project] 551186: [MC][ARM] Delete MCSection::HasData and move SHF_A...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Sun Jan 5 14:20:39 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5511861e6dc81e702587bb4d07deba35571db293
https://github.com/llvm/llvm-project/commit/5511861e6dc81e702587bb4d07deba35571db293
Author: Fangrui Song <maskray at google.com>
Date: 2020-01-05 (Sun, 05 Jan 2020)
Changed paths:
M llvm/include/llvm/MC/MCSection.h
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/lib/MC/MCSection.cpp
M llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list