diff options
author | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-03-27 11:39:03 +0000 |
---|---|---|
committer | Matheus Almeida <matheus.almeida@imgtec.com> | 2014-03-27 11:39:03 +0000 |
commit | dac77fb389d47d188d0ff399889d541c781429b5 (patch) | |
tree | 1e02cbab7852eb1d2848ffb1d26cc5e11fb9b00b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | cb5ebf66dfad2e0b038a3b4b10ffc084aa68cabc (diff) | |
download | bcm5719-llvm-dac77fb389d47d188d0ff399889d541c781429b5.tar.gz bcm5719-llvm-dac77fb389d47d188d0ff399889d541c781429b5.zip |
[mips] Implement custom MCELFStreamer.
This allows us to insert some hooks before emitting data into an actual object file.
For example, we can capture the register usage for a translation unit by overriding
the EmitInstruction method. The register usage information is needed to generate
.reginfo and .Mips.options ELF sections.
No functional changes.
Differential Revision: http://llvm-reviews.chandlerc.com/D3129
llvm-svn: 204917
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions