|
hoshi-lang dev
Yet another programming language
|
#include "share/defines.h"#include <compiler/compilerContext.h>#include <compiler/frontend/ast.hpp>#include <compiler/frontend/lexer.hpp>#include <compiler/ir/IR.h>#include <compiler/ir/IRLinker.hpp>#include <compiler/llvmCodegen/llvmCodegenContext.hpp>#include <compiler/objectLinker/ccObjectLinker.h>#include <compiler/objectLinker/clObjectLinker.h>#include <compiler/objectLinker/objectLinker.h>#include <iostream>#include <llvm/Support/raw_ostream.h>#include <share/def.hpp>#include <stdexcept>#include <string>#include <vector>#include <filesystem>
Go to the source code of this file.
Functions | |
| std::string | getOutputExtension (yoi::IRBuildConfig::BuildType type, std::wstring platform) |
| void | printUsage (const char *programName) |
| int | main (int argc, const char **argv) |
| std::string getOutputExtension | ( | yoi::IRBuildConfig::BuildType | type, |
| std::wstring | platform | ||
| ) |
Definition at line 23 of file main.cpp.
References IRBuildConfig::executable, and IRBuildConfig::library.
Referenced by main().

| int main | ( | int | argc, |
| const char ** | argv | ||
| ) |
Definition at line 63 of file main.cpp.
References IRBuildConfig::cc, IRBuildConfig::cl, IRBuildConfig::debug, ObjectLinker::defaultAdditionalLinkingFiles(), LLVMCodegen::dumpIR(), yoi::exception_categories, IRBuildConfig::executable, LLVMCodegen::generate(), getOutputExtension(), HOSHI_LANG_GIT_COMMIT_HASH, HOSHI_LANG_VERSION, IRBuildConfig::library, IRLinker::link(), ObjectLinker::link(), IRBuildConfig::none, yoi::Panic, printUsage(), yoi::realpath(), IRBuildConfig::release, ObjectLinker::searchAndSetupLinker(), IRBuildConfig::Builder::setAdditionalLinkingFiles(), IRBuildConfig::Builder::setBuildCachePath(), ObjectLinker::setElysiaRuntimePath(), IRBuildConfig::Builder::setMarco(), IRBuildConfig::Builder::setSearchPaths(), yoi::string2wstring(), yoi::Suppress, TIMER, yoi::Warning, yoi::whereIsHoshiLang(), yoi::wstring2string(), IRBuildConfig::Builder::yield(), YOI_ARCH, and YOI_PLATFORM.
