File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -467,10 +467,15 @@ struct WasmDebugName {
467
467
StringRef Name;
468
468
};
469
469
470
+ // Info from the linking metadata section of a wasm object file.
470
471
struct WasmLinkingData {
471
472
uint32_t Version;
472
473
std::vector<WasmInitFunc> InitFunctions;
473
474
std::vector<StringRef> Comdats;
475
+ // The linking section also contains a symbol table. This info (represented
476
+ // in a WasmSymbolInfo struct) is stored inside the WasmSymbol object instead
477
+ // of in this structure; this allows vectors of WasmSymbols and
478
+ // WasmLinkingDatas to be reallocated.
474
479
};
475
480
476
481
struct WasmSignature {
Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ class WasmSymbol {
43
43
assert (!Signature || Signature->Kind != wasm::WasmSignature::Placeholder);
44
44
}
45
45
46
+ // Symbol info as represented in the symbol's 'syminfo' entry of an object
47
+ // file's symbol table.
46
48
const wasm::WasmSymbolInfo Info;
47
49
const wasm::WasmGlobalType *GlobalType;
48
50
const wasm::WasmTableType *TableType;
You can’t perform that action at this time.
0 commit comments