| commit | c7cc6ecf088b81c42776613ee9ec659984d0bdde | [log] [tgz] |
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Thu Oct 15 22:27:29 2015 +0000 |
| committer | Rui Ueyama <ruiu@google.com> | Thu Oct 15 22:27:29 2015 +0000 |
| tree | 6cc66bc3fcb6e6c58f65f9a90ff76db81d0da8ce | |
| parent | cdb2a11e04665a9a200bd68f7531d01f700960df [diff] |
ELF2: Use ELFT to template OutputSections. This patch is to use ELFT instead of Is64Bits to template OutputSection and its subclasses. This increases code size slightly because it creates two identical functions for some classes, but that's only 20 KB out of 33 MB, so it's negligible. This is as per discussion with Rafael. He's not fan of the idea but OK with this. We'll revisit later to this topic. llvm-svn: 250466