diff options
author | Rui Ueyama <ruiu@google.com> | 2013-11-27 00:55:45 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2013-11-27 00:55:45 +0000 |
commit | 3e873b0578f99b700b9860ed3501804d83e2cc5c (patch) | |
tree | 4d4f55029b9579381f771854c05790ba068aa251 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6ef2bb02f5ac76a90ae2d35438d06a1e3f604beb (diff) | |
download | bcm5719-llvm-3e873b0578f99b700b9860ed3501804d83e2cc5c.tar.gz bcm5719-llvm-3e873b0578f99b700b9860ed3501804d83e2cc5c.zip |
[PECOFF] Add a generic section writer.
Instead of having multiple SectionChunks for each section (.text, .data,
.rdata and .bss), we could have one chunk writer that can emit any sections.
This patch does that -- removing all section-sepcific chunk writers and
replace them with one "generic" writer.
This change should simplify the code because it eliminates similar-but-
slightly-different classes.
It also fixes an issue in the previous design. Before this patch, we could
emit only limited set of sections (i.e. .text, .data, .rdata and .bss). With
this patch, we can emit any sections.
llvm-svn: 195797
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions