Kotlin, native target: assembly code?

Hi,

Is there a way to get the assembly code out of the backend phase in LLVM, when building to a native target? I’m interested to see the result code with different alternatives in Kotlin, preferrably for x86-64 and if possible with names so I can see what correspond to which part of the source code.

I’ve checked the compiler’s advanced options but I haven’t found it. I don’t understand all the options so I have likely missed it.

I’m using IntelliJ-IDEA, but it’s not a problem to launch the compiler from the console if I have to, in order to get the assembly code. I see there’s a field to enter additional parameters in the project settings, so I assume it could be set up there too.

Thanks! :slight_smile:

I suppose it’s not possible then.