Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions | Variables
elf_loader.h File Reference
#include <memory>
#include "flutter/common/settings.h"
#include "flutter/fml/macros.h"
#include "third_party/dart/runtime/bin/elf_loader.h"

Go to the source code of this file.

Classes

struct  flutter::testing::LoadedELFDeleter
 
struct  flutter::testing::ELFAOTSymbols
 

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Typedefs

using flutter::testing::UniqueLoadedELF = std::unique_ptr< Dart_LoadedElf, LoadedELFDeleter >
 

Functions

ELFAOTSymbols flutter::testing::LoadELFSymbolFromFixturesIfNeccessary (std::string elf_filename)
 Attempts to resolve AOT symbols from the portable ELF loader. This location is automatically resolved from the fixtures generator. This only returns valid symbols when the VM is configured for AOT.
 
ELFAOTSymbols flutter::testing::LoadELFSplitSymbolFromFixturesIfNeccessary (std::string elf_split_filename)
 Attempts to resolve split loading unit AOT symbols from the portable ELF loader. If the dart code does not make use of deferred libraries, then there will be no split .so to load. This only returns valid symbols when the VM is configured for AOT.
 
bool flutter::testing::PrepareSettingsForAOTWithSymbols (Settings &settings, const ELFAOTSymbols &symbols)
 Prepare the settings objects various AOT mappings resolvers with the symbols already loaded. This method does nothing in non-AOT runtime modes.
 

Variables

constexpr const char * flutter::testing::kDefaultAOTAppELFFileName = "app_elf_snapshot.so"
 
constexpr const char * flutter::testing::kDefaultAOTAppELFSplitFileName