mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 00:55:49 +03:00
Merge remote-tracking branch 'origin/master' into llvm16-2
This commit is contained in:
commit
81ea49db13
401 changed files with 9115 additions and 8336 deletions
|
@ -29,6 +29,7 @@
|
|||
#include "driver/cl_options_sanitizers.h"
|
||||
#include "driver/codegenerator.h"
|
||||
#include "driver/configfile.h"
|
||||
#include "driver/cpreprocessor.h"
|
||||
#include "driver/dcomputecodegenerator.h"
|
||||
#include "driver/exe_path.h"
|
||||
#include "driver/ldc-version.h"
|
||||
|
@ -1113,6 +1114,10 @@ int cppmain() {
|
|||
fatal();
|
||||
}
|
||||
|
||||
global.compileEnv.previewIn = global.params.previewIn;
|
||||
global.compileEnv.ddocOutput = global.params.ddoc.doOutput;
|
||||
global.compileEnv.shortenedMethods = global.params.shortenedMethods;
|
||||
|
||||
if (opts::fTimeTrace) {
|
||||
initializeTimeTrace(opts::fTimeTraceGranularity, 0, opts::allArguments[0]);
|
||||
}
|
||||
|
@ -1185,6 +1190,8 @@ int cppmain() {
|
|||
global.params.dllimport = DLLImport::none;
|
||||
}
|
||||
|
||||
global.preprocess = &runCPreprocessor;
|
||||
|
||||
// allocate the target abi
|
||||
gABI = TargetABI::getTarget();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue