mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Change how -O works and create -optsize / -optlevel. Update --safe / --fast.
This commit is contained in:
committed by
Christoffer Lerno
parent
03345bef10
commit
d49365b4a7
@@ -181,7 +181,7 @@ void gencontext_init_file_emit(GenContext *c, CompilationUnit *unit)
|
||||
// Set runtime version here.
|
||||
unit->llvm.debug_file = llvm_get_debug_file(c, unit->file->file_id);
|
||||
|
||||
bool is_optimized = active_target.optimization_level != OPTIMIZATION_NONE;
|
||||
bool is_optimized = active_target.optlevel != OPTIMIZATION_NONE;
|
||||
const char *dwarf_flags = "";
|
||||
unsigned runtime_version = 0;
|
||||
LLVMDWARFEmissionKind emission_kind =
|
||||
|
||||
Reference in New Issue
Block a user