What’s the best way to inspect a linker stage? I t...
# kotlin-native
p
What’s the best way to inspect a linker stage? I tried this:
Copy code
fromPreset(presets.iosX64, 'ios') {
            compilations.main {
                kotlinOptions.freeCompilerArgs = [
                    '-Xlist-phases', 
                    '-Xverbose-phases=ObjectFiles', 
                    '-Xverbose-phases=SetUpLinkStage', 
                    '-Xverbose-phases=Linker']
            }
        }
but not sure if I’m supposed to see something
message has been deleted
s
What are you trying to inspect?
p
all arguments passed to
ld
s
Does you
main
compilation produce native binary? It doesn’t seem so.
p
you are right, it was a binary produced by test task