Nikolay Nikolov
|
90e7b2be56
+ added functions for reading the different types of Wasm object sections
|
1 year ago |
Nikolay Nikolov
|
54eb8de658
* write a WebAssembly header in TWasmExeOutput.writeData
|
1 year ago |
Nikolay Nikolov
|
6bead20fc3
* set CObjData in the TWasmExeOutput constructor
|
1 year ago |
Nikolay Nikolov
|
5a61f51b3c
+ added TWasmExeOutput class (not implemented, yet)
|
1 year ago |
Nikolay Nikolov
|
d98d0c5e62
+ started implementing TWasmObjInput.ReadObjData
|
1 year ago |
Nikolay Nikolov
|
b9668a88c6
+ implemented TWasmObjInput.CanReadObjData: checks for WASM header and version
|
1 year ago |
Nikolay Nikolov
|
bc727f9fb2
+ added TWasmObjInput class. To be used in the WASM internal linker. Not doing anything, yet.
|
1 year ago |
Nikolay Nikolov
|
322befbf56
+ added mutable globals to the target switches section
|
2 years ago |
Nikolay Nikolov
|
9b4366e4f6
+ support externref and funcref WebAssembly globals in the internal object writer
|
2 years ago |
Nikolay Nikolov
|
dd13b46088
* use WasmCustomSectionName to obtain the debug section names in MaybeWriteDebugSection and MaybeAddDebugSectionToSymbolTable
|
3 years ago |
Nikolay Nikolov
|
efd92fba01
+ introduced TWasmCustomDebugSectionType
|
3 years ago |
Nikolay Nikolov
|
cc260eb7b2
* wasm32 obj writer: use Data.ObjSectionList.Find to find the debug section by name in MaybeWriteDebugSection
|
3 years ago |
Nikolay Nikolov
|
e959422753
* wasm32 obj writer: do the relocations before writing the code, data and debug sections
|
3 years ago |
Nikolay Nikolov
|
edf5fce7e3
* wasm32 obj writer: determine the section number for the datacount, code, data and debug sections ahead of time (before writing the sections)
|
3 years ago |
Nikolay Nikolov
|
b5a71086e8
* wasm32 obj writer: moved the writing of the data sections ahead
|
3 years ago |
Nikolay Nikolov
|
2a196899bc
* wasm32 obj writer: writing the debug section symbols to the symbol table moved before the writing of the debug sections themselves
|
3 years ago |
Nikolay Nikolov
|
65b4425672
+ support declaring wasm globals in the WebAssembly internal object writer
|
3 years ago |
Nikolay Nikolov
|
5604bd951e
* an attempt to fix WebAssembly debug info section relocations
|
3 years ago |
Nikolay Nikolov
|
63c8e458bb
* workaround crash when generating WebAssembly DWARF debug info for threadvars, while multithreading is turned off
|
3 years ago |
Nikolay Nikolov
|
fcadc80163
* don't write R_WASM_TABLE_INDEX_I32 relocations, always use R_WASM_FUNCTION_OFFSET_I32 in debug sections
|
3 years ago |
Nikolay Nikolov
|
972a9df031
+ always (even when multithreading is off) create a "target features" section
|
3 years ago |
Nikolay Nikolov
|
bf17a84dd2
+ implemented the R_WASM_FUNCTION_OFFSET_I32 relocation in the WebAssembly object writer
|
3 years ago |
Nikolay Nikolov
|
6a94d2683b
+ emit WASM DWARF debug info relocations
|
3 years ago |
Nikolay Nikolov
|
90305b6032
+ write the actual DWARF debug sections in the WebAssembly object writer. The relocations aren't ready, yet, though.
|
3 years ago |
Nikolay Nikolov
|
b82af25e63
* fixed crashes with the WebAssembly internal object writer, when debug info is enabled. The debug info itself is not yet written to the file, though.
|
3 years ago |
Nikolay Nikolov
|
a9698b6f6e
+ introduced TWasmObjSection.IsDebug
|
3 years ago |
Nikolay Nikolov
|
4db653998b
+ generate proper WebAssembly threadvar access when multithreading is turned on
|
3 years ago |
Nikolay Nikolov
|
fa5575ea54
+ prefix the threadvar sections with '.tbss' when WASM multithreading is enabled
|
3 years ago |
Nikolay Nikolov
|
2606cef21f
+ set the TLS flag for threadvar sections when WASM threads are enabled
|
3 years ago |
Nikolay Nikolov
|
7cd082ba5f
+ produce a target_features section when compiling with -CTwasmthreads
|
3 years ago |