OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:WasmSec
(Results
1 - 2
of
2
) sorted by null
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
WasmDumper.cpp
160
const WasmSection &
WasmSec
= Obj->getWasmSection(Section);
162
W.printEnum("Type",
WasmSec
.Type, makeArrayRef(WasmSectionTypes));
163
W.printNumber("Size", static_cast<uint64_t>(
WasmSec
.Content.size()));
164
W.printNumber("Offset",
WasmSec
.Offset);
165
switch (
WasmSec
.Type) {
167
W.printString("Name",
WasmSec
.Name);
168
if (
WasmSec
.Name == "linking") {
196
W.printNumber("MaxPages",
WasmSec
.Offset);
209
W.printBinaryBlock("SectionData",
WasmSec
.Content);
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
wasm2yaml.cpp
30
dumpCustomSection(const WasmSection &
WasmSec
);
52
std::unique_ptr<WasmYAML::CustomSection> WasmDumper::dumpCustomSection(const WasmSection &
WasmSec
) {
54
if (
WasmSec
.Name == "name") {
63
} else if (
WasmSec
.Name == "linking") {
123
CustomSec = make_unique<WasmYAML::CustomSection>(
WasmSec
.Name);
125
CustomSec->Payload = yaml::BinaryRef(
WasmSec
.Content);
137
const WasmSection &
WasmSec
= Obj.getWasmSection(Sec);
139
switch (
WasmSec
.Type) {
141
if (
WasmSec
.Name.startswith("reloc.")) {
146
S = dumpCustomSection(
WasmSec
);
[
all
...]
Completed in 177 milliseconds