| OLD | NEW |
| 1 //===------ JITDwarfEmitter.h - Write dwarf tables into memory ------------===// | 1 //===------ JITDwarfEmitter.h - Write dwarf tables into memory ------------===// |
| 2 // | 2 // |
| 3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // This file defines a JITDwarfEmitter object that is used by the JIT to | 10 // This file defines a JITDwarfEmitter object that is used by the JIT to |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 unsigned GetEHFrameSizeInBytes(const Function* Personality, | 60 unsigned GetEHFrameSizeInBytes(const Function* Personality, |
| 61 unsigned char* StartFunction) const; | 61 unsigned char* StartFunction) const; |
| 62 | 62 |
| 63 public: | 63 public: |
| 64 | 64 |
| 65 JITDwarfEmitter(JIT& jit); | 65 JITDwarfEmitter(JIT& jit); |
| 66 | 66 |
| 67 unsigned char* EmitDwarfTable(MachineFunction& F, | 67 unsigned char* EmitDwarfTable(MachineFunction& F, |
| 68 JITCodeEmitter& JCE, | 68 JITCodeEmitter& JCE, |
| 69 unsigned char* StartFunction, | 69 unsigned char* StartFunction, |
| 70 unsigned char* EndFunction); | 70 unsigned char* EndFunction, |
| 71 unsigned char* &EHFramePtr); |
| 71 | 72 |
| 72 | 73 |
| 73 unsigned GetDwarfTableSizeInBytes(MachineFunction& F, | 74 unsigned GetDwarfTableSizeInBytes(MachineFunction& F, |
| 74 JITCodeEmitter& JCE, | 75 JITCodeEmitter& JCE, |
| 75 unsigned char* StartFunction, | 76 unsigned char* StartFunction, |
| 76 unsigned char* EndFunction); | 77 unsigned char* EndFunction); |
| 77 | 78 |
| 78 void setModuleInfo(MachineModuleInfo* Info) { | 79 void setModuleInfo(MachineModuleInfo* Info) { |
| 79 MMI = Info; | 80 MMI = Info; |
| 80 } | 81 } |
| 81 }; | 82 }; |
| 82 | 83 |
| 83 | 84 |
| 84 } // end namespace llvm | 85 } // end namespace llvm |
| 85 | 86 |
| 86 #endif // LLVM_EXECUTION_ENGINE_JIT_DWARFEMITTER_H | 87 #endif // LLVM_EXECUTION_ENGINE_JIT_DWARFEMITTER_H |
| OLD | NEW |