mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 19:29:24 +02:00
* import llvminfo when building an llvm-targeting compiler to override the
default -O1/2/3 optimization levels and supported optimization switches (e.g. -Ooregvar is not supported for the llvm target, nor needed) git-svn-id: branches/hlcgllvm@26055 -
This commit is contained in:
parent
5409d4321e
commit
ad84210a9a
@ -27,7 +27,7 @@ interface
|
||||
|
||||
uses
|
||||
cfileutl,
|
||||
globtype,globals,verbose,systems,cpuinfo, comprsrc;
|
||||
globtype,globals,verbose,systems,cpuinfo,comprsrc;
|
||||
|
||||
Type
|
||||
TOption=class
|
||||
@ -91,6 +91,10 @@ uses
|
||||
comphook,
|
||||
symtable,scanner,rabase,
|
||||
symconst,
|
||||
{$ifdef llvm}
|
||||
{ override supported optimizer transformations at the compiler level }
|
||||
llvminfo,
|
||||
{$endif llvm}
|
||||
dirparse,
|
||||
i_bsd;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user