Flutter Engine
The Flutter Engine
Namespaces | Functions
elf_loader.cc File Reference
#include "flutter/testing/elf_loader.h"
#include <utility>
#include "flutter/fml/file.h"
#include "flutter/fml/paths.h"
#include "flutter/runtime/dart_vm.h"
#include "flutter/testing/testing.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

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. More...
 
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. More...
 
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. More...