#include <names-provider.h>
|
| NamesProvider (const WasmModule *module, base::Vector< const uint8_t > wire_bytes) |
|
| ~NamesProvider () |
|
void | PrintFunctionName (StringBuilder &out, uint32_t function_index, FunctionNamesBehavior behavior=kWasmInternal, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintLocalName (StringBuilder &out, uint32_t function_index, uint32_t local_index, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintLabelName (StringBuilder &out, uint32_t function_index, uint32_t label_index, uint32_t fallback_index) |
|
void | PrintTypeName (StringBuilder &out, uint32_t type_index, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintTypeName (StringBuilder &out, ModuleTypeIndex type_index, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintTableName (StringBuilder &out, uint32_t table_index, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintMemoryName (StringBuilder &out, uint32_t memory_index, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintGlobalName (StringBuilder &out, uint32_t global_index, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintElementSegmentName (StringBuilder &out, uint32_t element_segment_index, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintDataSegmentName (StringBuilder &out, uint32_t data_segment_index, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintFieldName (StringBuilder &out, uint32_t struct_index, uint32_t field_index, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintTagName (StringBuilder &out, uint32_t tag_index, IndexAsComment index_as_comment=kDontPrintIndex) |
|
void | PrintHeapType (StringBuilder &out, HeapType type) |
|
void | PrintValueType (StringBuilder &out, ValueType type) |
|
size_t | EstimateCurrentMemoryConsumption () const |
|
Definition at line 26 of file names-provider.h.
◆ FunctionNamesBehavior
◆ IndexAsComment
◆ NamesProvider()
v8::internal::wasm::NamesProvider::NamesProvider |
( |
const WasmModule * | module, |
|
|
base::Vector< const uint8_t > | wire_bytes ) |
◆ ~NamesProvider()
v8::internal::wasm::NamesProvider::~NamesProvider |
( |
| ) |
|
|
default |
◆ ComputeExportName()
void v8::internal::wasm::NamesProvider::ComputeExportName |
( |
const WasmExport & | ex, |
|
|
std::map< uint32_t, std::string > & | target ) |
|
private |
◆ ComputeFunctionNamesFromImportsExports()
void v8::internal::wasm::NamesProvider::ComputeFunctionNamesFromImportsExports |
( |
| ) |
|
|
private |
◆ ComputeImportName()
void v8::internal::wasm::NamesProvider::ComputeImportName |
( |
const WasmImport & | import, |
|
|
std::map< uint32_t, std::string > & | target ) |
|
private |
◆ ComputeNamesFromImportsExports()
void v8::internal::wasm::NamesProvider::ComputeNamesFromImportsExports |
( |
| ) |
|
|
private |
◆ DecodeNamesIfNotYetDone()
void v8::internal::wasm::NamesProvider::DecodeNamesIfNotYetDone |
( |
| ) |
|
|
private |
◆ EstimateCurrentMemoryConsumption()
size_t v8::internal::wasm::NamesProvider::EstimateCurrentMemoryConsumption |
( |
| ) |
const |
◆ PrintDataSegmentName()
◆ PrintElementSegmentName()
◆ PrintFieldName()
◆ PrintFunctionName()
◆ PrintGlobalName()
◆ PrintHeapType()
◆ PrintLabelName()
void v8::internal::wasm::NamesProvider::PrintLabelName |
( |
StringBuilder & | out, |
|
|
uint32_t | function_index, |
|
|
uint32_t | label_index, |
|
|
uint32_t | fallback_index ) |
◆ PrintLocalName()
◆ PrintMemoryName()
◆ PrintTableName()
◆ PrintTagName()
◆ PrintTypeName() [1/2]
◆ PrintTypeName() [2/2]
◆ PrintValueType()
◆ WriteRef()
◆ has_computed_function_import_names_
bool v8::internal::wasm::NamesProvider::has_computed_function_import_names_ {false} |
|
private |
◆ has_computed_import_names_
bool v8::internal::wasm::NamesProvider::has_computed_import_names_ {false} |
|
private |
◆ has_decoded_
bool v8::internal::wasm::NamesProvider::has_decoded_ {false} |
|
private |
◆ import_export_function_names_
std::map<uint32_t, std::string> v8::internal::wasm::NamesProvider::import_export_function_names_ |
|
private |
◆ import_export_global_names_
std::map<uint32_t, std::string> v8::internal::wasm::NamesProvider::import_export_global_names_ |
|
private |
◆ import_export_memory_names_
std::map<uint32_t, std::string> v8::internal::wasm::NamesProvider::import_export_memory_names_ |
|
private |
◆ import_export_table_names_
std::map<uint32_t, std::string> v8::internal::wasm::NamesProvider::import_export_table_names_ |
|
private |
◆ import_export_tag_names_
std::map<uint32_t, std::string> v8::internal::wasm::NamesProvider::import_export_tag_names_ |
|
private |
◆ module_
const WasmModule* v8::internal::wasm::NamesProvider::module_ |
|
private |
◆ mutex_
◆ name_section_names_
std::unique_ptr<DecodedNameSection> v8::internal::wasm::NamesProvider::name_section_names_ |
|
private |
◆ wire_bytes_
base::Vector<const uint8_t> v8::internal::wasm::NamesProvider::wire_bytes_ |
|
private |
The documentation for this class was generated from the following files: