Vasily Levchenko
b604b58223
[debugger][bindings] don't enter to recursion on type info calculation (KT-41291)
...
KT-41291
2020-09-01 08:23:03 +02:00
Pavel Punegov
23f4866316
Fix Null and primitives printing
2020-06-15 17:58:53 +03:00
Vasily Levchenko
4bfa9dd455
[debug][bindings][python] drop print_this command.
2020-04-30 18:30:34 +02:00
Vasily Levchenko
95daf2258c
[debug][bindings] more logs
...
(cherry picked from commit 28bc665c93ec229bf39e55c645ed0b16411236a6)
2020-03-19 10:10:33 +01:00
Vasily Levchenko
79d5fec6c9
[debug][bindings] utility debug functions
2020-03-19 10:10:33 +01:00
Vasily Levchenko
130a8dd6f2
[debug][bindings] fix string detection
2020-03-13 16:10:58 +01:00
Vasily Levchenko
1194d08359
[debugger][binding] fix C-typing in evoluations
2020-01-13 12:22:48 +01:00
Vasily Levchenko
ea21aadcfd
[debugger][binding] fix issue with resolving theStringTypeInfo symbol
2020-01-13 12:22:48 +01:00
Vasily Levchenko
1afec9c027
[debugger][binding] global variable printer (KT-33354)
...
introduces konnan_globals lldb command
2020-01-13 12:14:54 +01:00
Vasily Levchenko
1ca2a12b11
[debugger][binding] fix invalid dicitionary default initializator
2020-01-13 12:14:54 +01:00
Vasily Levchenko
814fb204c2
[debug][bindings] type name inspection
...
introduces command type_name <obj>
2020-01-10 15:21:47 +01:00
Vasily Levchenko
45a6c58d56
[debuging][bindings] read only values we want to show in summary
2019-11-25 21:57:08 +01:00
Vasily Levchenko
d4028ad13a
[debuging][bindings] narrow down depth an array size limits down
2019-11-13 22:03:53 +01:00
Vasily Levchenko
8e9b1917fb
[debuging][bindings] don't exhaust resorces on string building, instead show enoght to understand, whats object is it.
2019-11-11 16:31:11 +01:00
Vasily Levchenko
2dc8a0f0f2
[debuging][bindings] evaluation/calculation optimizations borrowed from #2372
2019-11-11 16:31:11 +01:00
Vasily Levchenko
525da2d135
[debuging][bindings] lazy logging
2019-11-11 16:31:11 +01:00
Igor Chevdar
71ab6e0f82
Bumped both bootstrap compiler and usual compiler versions
2019-10-31 18:33:14 +03:00
Igor Chevdar
ac97437ddb
Fixed crash in debug info ( #3491 )
...
Fixed crash in debug info
2019-10-24 19:48:08 +03:00
Nikolay Igotti
f578ce88f5
Compiler daemon ( #3442 )
2019-10-14 18:44:27 +03:00
Nikolay Igotti
64be2b7fdc
Revert "Compiler daemon ( #3442 )"
...
This reverts commit e4fb6fd271 .
2019-10-09 20:58:27 +03:00
Igor Chevdar
e4fb6fd271
Compiler daemon ( #3442 )
2019-10-09 20:35:13 +03:00
Nikolay Igotti
0123dc955a
Update to XCode 11. ( #3375 )
2019-09-27 14:18:59 +03:00
Vasily Levchenko
b511ff9472
[debugging][binding][python] .next() -> next(...) python3 migration (KT-32975)
2019-07-26 17:19:28 +03:00
Ilya Matveev
5745b31853
Revert "Depend on kotlin-native-shared from a separate repo"
...
This reverts commit a2370920db .
2019-05-30 19:48:50 +03:00
Vasily Levchenko
6eabe618da
[debugging][binding][python] speed up
...
- reduce number of operaions on array processing and caching layout for objects with the same type info.
2019-04-30 23:16:25 +03:00
Ilya Matveev
a2370920db
Depend on kotlin-native-shared from a separate repo
...
Kotlin-native-shared was copied in a separate repository.
This patch removes this subproject from the K/N repo and
adds a dependency on an artifact built from this separate repo.
2019-03-14 21:51:46 +07:00
Sergey Bogolepov
b22404c947
Infrastructure for source-based code coverage
2019-03-12 13:16:17 +07:00
Vasily Levchenko
7519bcec14
[lldb][binding][python] migration to Python 3.0. fix Clion/Linux (KT-29623)
2019-03-05 12:07:29 +03:00
Dmitriy Dolovov
16d8c5e55f
LLDB bindings: make compatible with Python 2.7.x and 3.x
...
Issue #KT-28926:fixed
2018-12-24 21:27:56 +07:00
Vasily Levchenko
8fea7a72fe
[debugging][binding][python] clear object tag before object header pointer dereferencing.
2018-12-10 18:21:27 +03:00
Vasily Levchenko
77be16c834
[debugger][lldb] adds command 'print_this' to print '<this>' w/o interacting with C-expression evaluator
2018-11-15 13:25:56 +03:00
Vasily Levchenko
d1ccd1e631
[debugging][binding][python] drop fetching data in update method
2018-10-02 16:01:32 +03:00
Vasily Levchenko
2f9fdfd1d1
[debugging][binding][python] replace dict with array
2018-10-02 16:01:32 +03:00
Vasily Levchenko
af841e3003
[lldb][python] Synthetic children handling enhancements.
2018-08-01 11:55:12 +03:00
Nikolay Igotti
95e641cfc1
Fix synthetic childern print
2018-07-16 06:04:22 +03:00
Nikolay Igotti
5dcb891c59
Improve synthetic field accessors.
2018-07-16 06:04:22 +03:00
Vasily Levchenko
9053eb3a63
[lldb][python] do not let to crash of python bindings on variables before local_inits basic block
...
- validness of the object pointer check with particularities of TypeInfo structure
2018-06-07 16:30:51 +03:00
Vasily Levchenko
bae852a427
[lldb][python binding] using new RTTI support
2018-05-26 21:27:50 +03:00
Vasily Levchenko
361cde1ed1
[build][gradle] switch to gradle-4.7
2018-05-21 12:25:26 +03:00
Vasily Levchenko
3dc88795d8
[bindings][llvm][DI] warnings [-Wformat]
2018-02-13 14:15:02 +03:00
Vasily Levchenko
0236868012
[codegen][DI][inline] generation debug info for inlined functions. ( #1251 )
...
- We use DILexicalBlock and DILexicalBlockFile for generation debug info for kotlin inline (macro substituion by nature).
-- Note: DILexicalBlock aren't nested in opposite to inline function in C meaning.
- Changed DICompileUnit generation practise, now it generated for each file.
- added DI LLVM bindings.
2018-02-01 20:43:21 +03:00
Vasily Levchenko
56d1881f18
[codegen][debug info] debug info generation do not touch llvm builder in the most cases.
2018-01-12 23:39:58 +03:00
Vasily Levchenko
38069d47ea
[build][gradle-4.4] (cpp, c) gradle plugins for native software injects -I/usr/include/x86_64-linux-gnu to compiler ( #1189 )
2017-12-25 12:52:02 +03:00
Vasily Levchenko
56a214c454
[build][gradle][4.4] upgrade (HACK inside see comment in body)
...
Gradle native software plugins adds -I/usr/include that inroduce conflict with our --systemroot flags,
so we had to add following hack over it:
/* HACK over gradle 4.4, it adds /usr/include, that affects our --sysroot flag */
toolChains {
clang(Clang) {
eachPlatform {
cppCompiler.withArguments { args ->
args.remove /usr/include
}
}
}
}
2017-12-21 11:55:36 +03:00
Vasily Levchenko
3a6cb76dc1
[llvm][update][5.0.0] llvm 5.0.0
2017-12-01 10:36:34 +03:00
Aleksey Kladov
b5befcf5d5
[debug] it's possible to inspect array elements in debugger
2017-11-17 16:19:26 +03:00
Aleksey Kladov
a118fc5271
[debug] add test for pretty-printers ( #994 )
...
* [debug] add test for pretty-printers
* [pretty printer] tuned evaluation of expressions
2017-11-08 13:20:47 +03:00
Vasily Levchenko
fea734ec83
[codegen][debug] generation debug info for vals.
2017-10-26 15:45:03 +03:00
Aleksey Kladov
e3611ca883
[debug] make lldb printes more robust
...
`GetValueAsUnsigned` return result as a Python `long`, while *some*
versions of lldb require that an `int` is passed to
`ReadCStringFromMemory` down the line. So let's cast result to `int`,
which is 64 bit wide on Python2 anyway.
Also use nicer accessors and a simpler rule to find Kotlin types.
2017-09-27 05:50:14 +03:00
Vasily Levchenko
d6a47c09c6
[build][debug info] fix gradle 'build'
2017-09-25 17:25:09 +03:00