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 | 7123b1a43eeed99064bfccef7e325493508b4139 (patch) | |
| tree | c9412ece18b945b97041fedbf7edad8080499cdb /lib/Bitcode/Writer/BitcodeWriterPass.cpp | |
| parent | c112990260027001b82305f9ca50440a5ff469c1 (diff) | |
| download | llvm-7123b1a43eeed99064bfccef7e325493508b4139.tar.gz llvm-7123b1a43eeed99064bfccef7e325493508b4139.tar.bz2 llvm-7123b1a43eeed99064bfccef7e325493508b4139.tar.xz | |
[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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions
