source: dev/trunk/ab5.0/abdev/BasicCompiler_Common/include/Linker.h@ 673

Last change on this file since 673 was 357, checked in by dai_9181, 16 years ago

例外処理機構実装中...

File size: 1.2 KB
Line 
1#pragma once
2
3class Linker
4{
5 NativeCode nativeCode;
6 DataTable dataTable;
7 DWORD imageBase;
8
9public:
10
11 Linker()
12 {
13 }
14
15 const NativeCode &GetNativeCode() const
16 {
17 return nativeCode;
18 }
19
20 const DataTable &GetDataTable() const
21 {
22 return dataTable;
23 }
24
25 void SetImageBase( DWORD imageBase )
26 {
27 this->imageBase = imageBase;
28 }
29
30 // データテーブルスケジュール
31 void ResolveDataTableSchedules( long dataSectionBaseOffset );
32
33 // Catchアドレス スケジュール
34 void ResolveCatchAddressSchedules( long codeSectionBaseOffset );
35
36 // DLL関数スケジュール
37 void ResolveDllProcSchedules( long codeSectionBaseOffset, long importSectionBaseOffset, long lookupSize, long hintSize );
38
39 // ユーザ定義関数スケジュール
40 void ResolveUserProcSchedules( long codeSectionBaseOffset );
41
42 // グローバル変数スケジュール
43 void ResolveGlobalVarSchedules( long rwSectionBaseOffset );
44
45 // vtblスケジュール
46 void ResolveVtblSchedule( long dataSectionBaseOffset );
47
48 // TypeInfoスケジュール
49 void ResolveTypeInfoSchedule( long dataSectionBaseOffset );
50
51 // リンク
52 void Link( ObjectModule &masterObjectModule );
53
54 // データテーブルをセット
55 void SetDataTable( DataTable &dataTable );
56};
Note: See TracBrowser for help on using the repository browser.