diff options
author | Sean Silva <silvas@purdue.edu> | 2013-06-18 23:37:23 +0000 |
---|---|---|
committer | Sean Silva <silvas@purdue.edu> | 2013-06-18 23:37:23 +0000 |
commit | c2b6adff3e94f8e299caa31947ad970096377e40 (patch) | |
tree | 333cfb1b4b16ac6afa13b589b50f329bd29169a4 /tools/llvm-readobj/StreamWriter.cpp | |
parent | ca0170ffa1ba6d53f0008b345cb5ac777e81c3b1 (diff) | |
download | llvm-c2b6adff3e94f8e299caa31947ad970096377e40.tar.gz llvm-c2b6adff3e94f8e299caa31947ad970096377e40.tar.bz2 llvm-c2b6adff3e94f8e299caa31947ad970096377e40.tar.xz |
[yaml2obj][ELF] Don't monkeypatch the YAML sections.
Previously, we would monkeypatch the vector of YAML::Section's in order
to ensure that the SHT_NULL entry is present. Now we just add it
unconditionally.
The proliferation of small numerical adjustments is beginning to
frighten me, but I can't think of a way having a single point of truth
for them without introducing a whole new layer of data structures (i.e.
lots of code and complexity) between the YAML and binary ELF formats.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-readobj/StreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions