ConversionDsl
DSL block for P2 — shared LLVM conversion configuration.
Controls GCC→LLVM flag translation applied to the raw compile database from P1.
stig {
element {
conversion {
optimizationLevel = "-O0"
llvmVersion = "18"
extraFlags = listOf("-Wno-unused-parameter")
}
}
}Content copied to clipboard
Settable at: defaults → group → element (cascading).
Properties
Link copied to clipboard
Additional flags appended to every compile command after translation. Use for project-wide Clang flags that aren't in the Bazel compdb.
Link copied to clipboard
Target LLVM/Clang version for flag translation. Controls which Clang flags are generated and which GCC-isms are translated.
Link copied to clipboard
Optimization level for the LLVM compilation. Default: "-O0" (no optimization — preserves debug info and control flow).