@@ -428,6 +428,7 @@ class LLVMKompile(Kompile):
428428 enable_llvm_debug : bool
429429 llvm_proof_hint_instrumentation : bool
430430 llvm_proof_hint_debugging : bool
431+ llvm_hidden_visibility : bool
431432 llvm_mutable_bytes : bool
432433 iterated_threshold : Fraction | None
433434 heuristic : str | None
@@ -445,6 +446,7 @@ def __init__(
445446 enable_llvm_debug : bool = False ,
446447 llvm_proof_hint_instrumentation : bool = False ,
447448 llvm_proof_hint_debugging : bool = False ,
449+ llvm_hidden_visibility : bool = False ,
448450 llvm_mutable_bytes : bool = False ,
449451 iterated_threshold : Fraction | None = None ,
450452 heuristic : str | None = None ,
@@ -468,6 +470,7 @@ def __init__(
468470 object .__setattr__ (self , 'enable_llvm_debug' , enable_llvm_debug )
469471 object .__setattr__ (self , 'llvm_proof_hint_instrumentation' , llvm_proof_hint_instrumentation )
470472 object .__setattr__ (self , 'llvm_proof_hint_debugging' , llvm_proof_hint_debugging )
473+ object .__setattr__ (self , 'llvm_hidden_visibility' , llvm_hidden_visibility )
471474 object .__setattr__ (self , 'llvm_mutable_bytes' , llvm_mutable_bytes )
472475 object .__setattr__ (self , 'iterated_threshold' , iterated_threshold )
473476 object .__setattr__ (self , 'heuristic' , heuristic )
@@ -507,6 +510,9 @@ def args(self) -> list[str]:
507510 if self .llvm_proof_hint_debugging :
508511 args += ['--llvm-proof-hint-debugging' ]
509512
513+ if self .llvm_hidden_visibility :
514+ args += ['--llvm-hidden-visibility' ]
515+
510516 if self .llvm_mutable_bytes :
511517 args += ['--llvm-mutable-bytes' ]
512518
0 commit comments