This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Kotlin Native naive support.
Needs RevisionPublic

Authored by vvlevchenko on Oct 17 2018, 4:36 AM.

Details

Reviewers
clayborg
jingham
Summary

This patch gives ability to operate with kotlin native binaries. While kotlin language plugin isn't ready clang plugin used for evaluation expressions.

Diff Detail

Event Timeline

vvlevchenko created this revision.Oct 17 2018, 4:36 AM
clayborg requested changes to this revision.Oct 22 2018, 12:48 PM

Shouldn't the JavaASTContext be used here instead of the ClangASTContext?

This revision now requires changes to proceed.Oct 22 2018, 12:48 PM

Shouldn't the JavaASTContext be used here instead of the ClangASTContext?

Why? Kotlin/Native has nothing common with java.

Kotlin reduces down to Java no? Or is there a case where it compiles directly to native code? If so there are two valid use cases for Kotlin: one as Java and one as Native. We would need to distinguish between the two

vvlevchenko added a comment.EditedOct 23 2018, 10:20 AM

Kotlin reduces down to Java no? Or is there a case where it compiles directly to native code? If so there are two valid use cases for Kotlin: one as Java and one as Native. We would need to distinguish between the two

There're three backends for Kotlin: JVM, JS and Native, Native ones compiles directly in Native code, and produce debug information enough to do stepping and variable inspection (with python bindings). Does it make any sense for you?