Skip to content

Commit 1cefa1c

Browse files
committed
add compiler options
1 parent 5d80f5f commit 1cefa1c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/topics/compiler-reference.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,13 @@ You can configure the following plugins by their IDs:
283283

284284
This running order controls only the backend of compiler plugins and not the frontend.
285285

286+
### -Xphases-to-dump-before
287+
288+
<primary-label ref="experimental-general"/>
289+
290+
Set to `ExternalPackageParentPatcherLowering` to create a dump file after the IR lowering compilation stage. Configure
291+
the output directory for the Kotlin/JVM with the [`-Xdump-directory`](#xdump-directory) compiler option.
292+
286293
## Kotlin/JVM compiler options
287294

288295
The Kotlin compiler for JVM compiles Kotlin source files into Java class files.
@@ -369,6 +376,12 @@ Control how functions declared in interfaces are compiled to default methods on
369376
| `no-compatibility` | Generates only default implementations in interfaces, skipping compatibility bridges and `DefaultImpls` classes. |
370377
| `disable` | Generates only compatibility bridges and `DefaultImpls` classes, skipping default methods. |
371378

379+
### -Xdump-directory
380+
381+
<primary-label ref="experimental-general"/>
382+
383+
Configure the dump file directory for the [-Xphases-to-dump-before`](#xphases-to-dump-before) compiler option.
384+
372385
## Kotlin/JS compiler options
373386

374387
The Kotlin compiler for JS compiles Kotlin source files into JavaScript code.

0 commit comments

Comments
 (0)