Jonas Devlieghere
127faae752
[lldb] Add -l/--language option to script command
...
Make it possible to run the script command with a different language
than currently selected.
$ ./bin/lldb -l python
(lldb) script -l lua
>>> io.stdout:write("Hello, World!\n")
Hello, World!
When passing the language option and a raw command, you need to separate
the flag from the script code with --.
$ ./bin/lldb -l python
(lldb) script -l lua -- io.stdout:write("Hello, World!\n")
Hello, World!
Differential revision: https://reviews.llvm.org/D86996
2020-09-15 09:40:17 -07:00
..
2020-09-01 17:33:39 -07:00
2020-08-24 19:54:23 +02:00
2020-01-24 08:52:55 +01:00
2020-02-17 23:15:40 -08:00
2020-08-20 20:56:34 +02:00
2020-02-17 23:15:40 -08:00
2020-01-28 23:25:25 +01:00
2020-02-17 23:15:40 -08:00
2020-09-01 17:33:39 -07:00
2020-02-17 23:15:40 -08:00
2020-05-15 11:57:48 +02:00
2020-05-15 11:57:48 +02:00
2020-06-09 10:45:45 -07:00
2020-03-23 15:28:17 +01:00
2020-08-11 12:25:39 +02:00
2020-02-17 23:15:40 -08:00
2020-05-14 07:23:59 +02:00
2020-02-17 23:15:40 -08:00
2020-01-28 23:25:25 +01:00
2020-02-17 23:15:40 -08:00
2020-01-24 08:52:55 +01:00
2020-02-17 23:15:40 -08:00
2020-04-09 08:58:52 +02:00
2020-06-02 13:23:53 -04:00
2020-01-24 08:52:55 +01:00
2020-02-17 23:15:40 -08:00
2020-06-12 21:13:21 -07:00
2020-09-02 16:36:10 +02:00
2020-06-02 13:23:53 -04:00
2020-01-24 08:52:55 +01:00
2020-02-17 23:15:40 -08:00
2020-08-24 17:30:43 +02:00
2020-02-17 23:15:40 -08:00
2020-07-22 11:48:07 +02:00
2020-02-17 23:15:40 -08:00
2020-09-01 17:33:39 -07:00
2020-09-01 17:33:39 -07:00
2020-05-07 18:14:27 +02:00
2020-06-02 13:23:53 -04:00
2020-09-02 22:00:00 -07:00
2020-02-17 23:15:40 -08:00
2020-09-15 09:40:17 -07:00
2020-09-15 09:40:17 -07:00
2020-07-23 13:05:45 +02:00
2020-07-22 11:43:16 +02:00
2020-04-02 18:56:29 +02:00
2020-02-17 23:15:40 -08:00
2020-07-20 17:40:36 -07:00
2020-02-17 23:15:40 -08:00
2020-01-24 08:52:55 +01:00
2020-02-17 23:15:40 -08:00
2020-08-25 20:53:59 -07:00
2020-02-17 23:15:40 -08:00
2020-08-13 14:11:28 +02:00
2020-02-17 23:15:40 -08:00
2020-08-31 14:18:07 +02:00
2020-02-17 23:15:40 -08:00
2020-01-24 08:52:55 +01:00
2020-02-17 23:15:40 -08:00
2020-08-11 14:25:09 +02:00
2020-02-17 23:15:40 -08:00
2020-06-09 10:45:45 -07:00
2020-02-17 23:15:40 -08:00
2020-09-15 09:40:17 -07:00
2019-07-26 11:46:21 +00:00