Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
analyze_snapshot.cc File Reference
#include "bin/elf_loader.h"
#include "bin/error_exit.h"
#include "bin/file.h"
#include "bin/options.h"
#include "bin/platform.h"

Go to the source code of this file.

Namespaces

namespace  dart
 
namespace  dart::bin
 

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 255 of file analyze_snapshot.cc.

255 {
256#ifdef SUPPORT_ANALYZE_SNAPSHOT
257 return dart::bin::RunAnalyzer(argc, argv);
258#else
259 dart::Syslog::PrintErr("Unsupported platform.\n");
261 "Requires SDK with following "
262 "flags:\n\tTARGET_ARCH_IS_64_BIT\n\tDART_PRECOMPILED_RUNTIME\n\tDART_"
263 "TARGET_OS_ANDROID || DART_TARGET_OS_LINUX");
265#endif
266}
static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
constexpr int kErrorExitCode
Definition error_exit.h:18