LILAC
Language to language Interop LAyer Compiler
Loading...
Searching...
No Matches
compilesymbolsubcommand.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2024 Yeong-won Seo
3
*
4
* This file is part of LILAC.
5
*
6
* LILAC is free software: you can redistribute it and/or modify it under
7
* the terms of the GNU General Public License as published by the Free
8
* Software Foundation, either version 3, or (at your option) any later
9
* version.
10
*
11
* LILAC is distributed in the hope that it will be useful, but WITHOUT ANY
12
* WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
* for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#include "
subcommand.h
"
23
#include "
shared/frontend.h
"
24
25
namespace
lilac
26
{
30
class
CompileSymbolSubCommand
final :
public
SubCommand
31
{
32
llvm::cl::opt<shared::FrontendKind> Language;
33
llvm::cl::opt<std::string> OutputFile;
34
llvm::cl::list<std::string> Argv;
35
36
public
:
37
CompileSymbolSubCommand
();
38
39
int
Run
()
override
;
40
};
41
}
lilac::CompileSymbolSubCommand
A sub-command that compiles assemblies into symbols.
Definition
compilesymbolsubcommand.h:31
lilac::CompileSymbolSubCommand::Run
int Run() override
Runs a subcommand.
Definition
compilesymbolsubcommand.cxx:59
lilac::CompileSymbolSubCommand::CompileSymbolSubCommand
CompileSymbolSubCommand()
Definition
compilesymbolsubcommand.cxx:33
lilac::SubCommand
An abstraction class of llvm::cl::SubCommand
Definition
subcommand.h:30
frontend.h
lilac
Definition
compilesymbolsubcommand.h:26
subcommand.h
lilac
compilesymbolsubcommand.h
Generated on Sat Oct 5 2024 07:56:20 for LILAC by
1.12.0