2011-03-18 17:00:02 +03:00
|
|
|
*-*-*.def
|
2015-05-25 08:48:48 +03:00
|
|
|
*-*-*.exp
|
|
|
|
*-*-*.lib
|
2011-03-17 19:07:58 +03:00
|
|
|
*.a
|
2009-04-26 15:22:18 +04:00
|
|
|
*.bak
|
2016-07-06 08:44:35 +03:00
|
|
|
*.bc
|
2018-11-23 15:12:10 +03:00
|
|
|
*.bundle
|
2011-03-17 19:07:58 +03:00
|
|
|
*.dSYM
|
2012-11-16 19:22:37 +04:00
|
|
|
*.dmyh
|
2009-05-05 12:49:55 +04:00
|
|
|
*.dylib
|
2012-12-01 14:06:59 +04:00
|
|
|
*.elc
|
2016-07-06 08:44:35 +03:00
|
|
|
*.i
|
2021-11-21 10:23:44 +03:00
|
|
|
*.ii
|
2009-05-05 12:49:55 +04:00
|
|
|
*.inc
|
2011-03-18 17:00:02 +03:00
|
|
|
*.log
|
2010-01-16 19:53:22 +03:00
|
|
|
*.o
|
2022-12-08 12:15:06 +03:00
|
|
|
*.o.tmp
|
2015-05-25 08:48:48 +03:00
|
|
|
*.obj
|
2017-09-09 05:34:30 +03:00
|
|
|
*.old
|
2009-04-26 15:22:18 +04:00
|
|
|
*.orig
|
2018-08-05 02:53:41 +03:00
|
|
|
*.pch
|
2015-05-25 08:48:48 +03:00
|
|
|
*.pdb
|
2019-11-11 03:22:46 +03:00
|
|
|
*.rbinc
|
2009-04-26 15:22:18 +04:00
|
|
|
*.rej
|
2018-11-22 09:08:47 +03:00
|
|
|
*.s
|
2009-04-26 15:22:18 +04:00
|
|
|
*.sav
|
2018-11-23 15:12:10 +03:00
|
|
|
*.sl
|
|
|
|
*.so
|
2022-12-06 13:16:52 +03:00
|
|
|
*.so.*
|
2009-04-26 15:22:18 +04:00
|
|
|
*.swp
|
2015-12-09 03:46:26 +03:00
|
|
|
*.yarb
|
2009-05-05 12:49:55 +04:00
|
|
|
*~
|
2009-04-26 15:22:18 +04:00
|
|
|
.*.list
|
|
|
|
.*.time
|
2009-05-05 12:49:55 +04:00
|
|
|
.DS_Store
|
2017-10-26 20:16:30 +03:00
|
|
|
.bundle
|
2009-04-26 15:22:18 +04:00
|
|
|
.ccmalloc
|
|
|
|
.ext
|
|
|
|
.pc
|
2009-05-05 12:49:55 +04:00
|
|
|
.ppack
|
|
|
|
.svn
|
2019-04-29 18:28:00 +03:00
|
|
|
.time
|
2020-07-04 13:38:27 +03:00
|
|
|
.ruby-version
|
2011-03-18 17:00:02 +03:00
|
|
|
Makefile
|
2015-12-07 09:50:52 +03:00
|
|
|
cygruby*.def
|
2011-03-18 17:00:02 +03:00
|
|
|
extconf.h
|
2011-03-17 19:07:58 +03:00
|
|
|
y.output
|
|
|
|
y.tab.c
|
2017-05-20 16:00:41 +03:00
|
|
|
*.gcda
|
|
|
|
*.gcno
|
|
|
|
*.gcov
|
2019-04-22 14:01:07 +03:00
|
|
|
*.vscode
|
2017-07-04 19:02:19 +03:00
|
|
|
lcov*.info
|
2011-03-19 03:25:01 +03:00
|
|
|
|
|
|
|
# /
|
2014-01-06 16:29:46 +04:00
|
|
|
/*-fake.rb
|
2015-05-25 08:48:48 +03:00
|
|
|
/*.dll
|
|
|
|
/*.exe
|
|
|
|
/*.res
|
2010-10-26 07:44:56 +04:00
|
|
|
/*.pc
|
2015-05-25 08:48:48 +03:00
|
|
|
/*.rc
|
2009-07-13 13:12:02 +04:00
|
|
|
/*_prelude.c
|
2020-07-04 13:38:27 +03:00
|
|
|
/.downloaded-cache
|
|
|
|
/.top-enc.mk
|
2019-06-20 14:12:42 +03:00
|
|
|
/build*/
|
2009-07-13 13:12:02 +04:00
|
|
|
/COPYING.LIB
|
2019-05-01 14:26:35 +03:00
|
|
|
/ChangeLog
|
2009-07-13 13:12:02 +04:00
|
|
|
/Doxyfile
|
|
|
|
/GNUmakefile
|
|
|
|
/README.atheos
|
|
|
|
/README.fat-patch
|
|
|
|
/README.v6
|
|
|
|
/TAGS
|
|
|
|
/archive
|
|
|
|
/autom4te*.cache
|
|
|
|
/automake
|
benchmark: introduce benchmark_driver.gem
Makefile.in: Clone benchmark-driver repository in benchmark/benchmark-driver
`make update-benchmark-driver`, like simplecov.
win32/Makefile.sub: Roughly do the same thing.
.gitignore: Ignore the cloned repository.
common.mk: Trigger `make update-benchmark-driver` to run `make benchmark`
and adjust arguments for benchmark_driver.gem.
benchmark/require.yml: renamed from benchmark/bm_require.rb, benchmark/prepare_require.rb
benchmark/require_thread.yml: renamed from benchmark/bm_require_thread.rb, benchmark/prepare_require_thread.rb
benchmark/so_count_words.yml: renamed from benchmark/bm_so_count_words.rb, benchmark/prepare_so_count_words.rb,
benchmark/wc.input.base
benchmark/so_k_nucleotide.yml: renamed from benchmark/bm_so_k_nucleotide.rb, benchmark/prepare_so_k_nucleotide.rb,
benchmark/make_fasta_output.rb
benchmark/so_reverse_complement.yml: renamed from benchmark/bm_so_reverse_complement.rb, benchmark/prepare_so_reverse_complement.rb,
benchmark/make_fasta_output.rb
I'm sorry but I made some duplications between benchmark/require.yml and benchmark/require_thread.yml,
and between benchmark/so_k_nucleotide.yml and benchmark/so_reverse_complement.yml.
If you're not comfortable with it, please combine these YAMLs to share
the same prelude. One YAML file can have multiple benchmark definitions
sharing prelude.
benchmark/driver.rb: Replace its core feature with benchmark_driver.gem.
Some old features are gone for now, but I'll add them again later.
[Misc #14902]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-08 17:38:05 +03:00
|
|
|
/benchmark/benchmark-driver
|
2009-07-13 13:12:02 +04:00
|
|
|
/beos
|
2014-02-22 13:41:18 +04:00
|
|
|
/bmlog-*
|
2009-07-13 13:12:02 +04:00
|
|
|
/breakpoints.gdb
|
|
|
|
/config.cache
|
|
|
|
/config.h
|
|
|
|
/config.h.in
|
|
|
|
/config.status
|
|
|
|
/config.status.lineno
|
|
|
|
/configure
|
2014-09-11 13:15:42 +04:00
|
|
|
/coverage/simplecov
|
2015-11-09 11:38:20 +03:00
|
|
|
/coverage/simplecov-html
|
|
|
|
/coverage/doclie
|
2014-09-11 13:40:21 +04:00
|
|
|
/coverage/.last_run.json
|
|
|
|
/coverage/.resultset.json*
|
|
|
|
/coverage/assets
|
|
|
|
/coverage/index.html
|
2010-10-15 18:56:47 +04:00
|
|
|
/doc/capi
|
2009-07-13 13:12:02 +04:00
|
|
|
/enc.mk
|
|
|
|
/encdb.h
|
2011-03-09 17:07:11 +03:00
|
|
|
/exts.mk
|
2009-09-14 11:57:36 +04:00
|
|
|
/goruby
|
2012-12-04 21:36:19 +04:00
|
|
|
/id.[ch]
|
2009-07-13 13:12:02 +04:00
|
|
|
/largefile.h
|
2017-09-09 16:09:21 +03:00
|
|
|
/lcov-c-out
|
|
|
|
/lcov-rb-out
|
2017-07-04 19:02:19 +03:00
|
|
|
/lcov-out
|
2009-07-13 13:12:02 +04:00
|
|
|
/lex.c
|
|
|
|
/libruby*.*
|
|
|
|
/miniprelude.c
|
|
|
|
/miniruby
|
|
|
|
/newdate.rb
|
|
|
|
/newline.c
|
|
|
|
/newver.rb
|
|
|
|
/parse.c
|
|
|
|
/parse.h
|
|
|
|
/patches
|
|
|
|
/patches-master
|
|
|
|
/pitest.rb
|
|
|
|
/ppack
|
|
|
|
/prelude.c
|
|
|
|
/preview
|
2017-09-09 05:34:30 +03:00
|
|
|
/probes.dmyh
|
2012-11-13 04:44:12 +04:00
|
|
|
/probes.h
|
2009-07-13 13:12:02 +04:00
|
|
|
/rbconfig.rb
|
|
|
|
/rename2.h
|
|
|
|
/repack
|
|
|
|
/revision.h
|
2020-02-11 08:05:34 +03:00
|
|
|
/revision.tmp
|
2009-07-13 13:12:02 +04:00
|
|
|
/riscos
|
|
|
|
/rubicon
|
|
|
|
/ruby
|
2015-10-23 12:10:39 +03:00
|
|
|
/ruby-runner
|
2016-04-14 04:30:12 +03:00
|
|
|
/ruby-runner.h
|
2009-07-13 13:12:02 +04:00
|
|
|
/ruby-man.rd.gz
|
2022-05-09 01:29:33 +03:00
|
|
|
/rubyspec_temp
|
2017-08-29 09:24:31 +03:00
|
|
|
/run.gdb
|
2013-08-26 07:37:15 +04:00
|
|
|
/sizes.c
|
2020-11-24 02:35:55 +03:00
|
|
|
/static-ruby
|
2009-07-13 13:12:02 +04:00
|
|
|
/test.rb
|
2017-09-07 18:40:29 +03:00
|
|
|
/test-coverage.dat
|
2009-07-13 13:12:02 +04:00
|
|
|
/tmp
|
|
|
|
/transdb.h
|
|
|
|
/uncommon.mk
|
2012-03-31 09:20:07 +04:00
|
|
|
/verconf.h
|
2015-05-25 08:48:48 +03:00
|
|
|
/verconf.mk
|
2009-07-13 13:12:02 +04:00
|
|
|
/web
|
|
|
|
/yasmdata.rb
|
|
|
|
|
2019-05-24 06:23:26 +03:00
|
|
|
# /bin/
|
|
|
|
|
|
|
|
/bin/*.exe
|
|
|
|
/bin/*.dll
|
2022-12-06 13:16:52 +03:00
|
|
|
/bin/goruby
|
|
|
|
/bin/ruby
|
2019-05-24 06:23:26 +03:00
|
|
|
|
2009-07-13 13:12:02 +04:00
|
|
|
# /benchmark/
|
2017-05-04 10:18:33 +03:00
|
|
|
/benchmark/bm_require.data
|
2009-07-13 13:12:02 +04:00
|
|
|
/benchmark/bmx_*.rb
|
2014-02-22 13:41:18 +04:00
|
|
|
/benchmark/fasta.output.*
|
|
|
|
/benchmark/wc.input
|
2009-07-13 13:12:02 +04:00
|
|
|
|
2015-05-25 08:48:48 +03:00
|
|
|
/enc/*.def
|
|
|
|
/enc/*.exp
|
|
|
|
/enc/*.lib
|
2017-04-22 19:26:15 +03:00
|
|
|
/enc/jis/props.h
|
2017-04-11 04:24:13 +03:00
|
|
|
/enc/unicode/data
|
2014-10-19 20:07:16 +04:00
|
|
|
|
2018-11-22 09:08:47 +03:00
|
|
|
# /coroutine/
|
|
|
|
!/coroutine/**/*.s
|
|
|
|
|
2009-07-13 13:12:02 +04:00
|
|
|
# /enc/trans/
|
|
|
|
/enc/trans/*.c
|
2015-05-25 08:48:48 +03:00
|
|
|
/enc/trans/*.def
|
|
|
|
/enc/trans/*.exp
|
|
|
|
/enc/trans/*.lib
|
2009-07-13 13:12:02 +04:00
|
|
|
|
2017-10-11 14:39:15 +03:00
|
|
|
# /exe/
|
2018-12-03 16:12:29 +03:00
|
|
|
/exe/goruby
|
2017-10-11 14:39:15 +03:00
|
|
|
/exe/ruby
|
|
|
|
|
2009-07-13 13:12:02 +04:00
|
|
|
# /ext/
|
|
|
|
/ext/extinit.c
|
2017-01-23 05:50:23 +03:00
|
|
|
/ext/configure-ext.mk
|
|
|
|
/ext/*/exts.mk
|
2009-07-13 13:12:02 +04:00
|
|
|
|
2019-10-22 15:33:11 +03:00
|
|
|
# /ext/-test-/cxxanyargs
|
2019-11-22 12:39:39 +03:00
|
|
|
/ext/-test-/cxxanyargs/failure*.failed
|
2019-10-22 15:33:11 +03:00
|
|
|
|
2015-05-25 08:48:48 +03:00
|
|
|
# /ext/-test-/win32/dln/
|
2017-11-12 18:25:56 +03:00
|
|
|
/ext/-test-/win32/dln/dlntest.dll
|
2015-05-25 08:48:48 +03:00
|
|
|
/ext/-test-/win32/dln/dlntest.exp
|
|
|
|
/ext/-test-/win32/dln/dlntest.lib
|
|
|
|
|
2021-11-15 10:52:06 +03:00
|
|
|
# /ext/-test-/gems
|
|
|
|
/ext/-test-/gems
|
|
|
|
|
2014-05-18 05:48:47 +04:00
|
|
|
# /ext/etc/
|
|
|
|
/ext/etc/constdefs.h
|
|
|
|
|
2014-12-23 16:39:13 +03:00
|
|
|
# /ext/fiddle/
|
|
|
|
/ext/fiddle/libffi-*
|
|
|
|
|
2013-11-19 11:03:51 +04:00
|
|
|
# /ext/rbconfig/
|
|
|
|
/ext/rbconfig/sizeof/sizes.c
|
2017-02-04 02:40:59 +03:00
|
|
|
/ext/rbconfig/sizeof/limits.c
|
2013-11-19 11:03:51 +04:00
|
|
|
|
2009-07-13 13:12:02 +04:00
|
|
|
# /ext/ripper/
|
|
|
|
/ext/ripper/eventids1.c
|
2020-06-15 17:48:33 +03:00
|
|
|
/ext/ripper/.eventids2-check
|
2009-07-13 13:12:02 +04:00
|
|
|
/ext/ripper/eventids2table.c
|
|
|
|
/ext/ripper/ripper.*
|
|
|
|
/ext/ripper/ids1
|
|
|
|
/ext/ripper/ids2
|
|
|
|
|
|
|
|
# /ext/socket/
|
|
|
|
/ext/socket/constants.h
|
|
|
|
/ext/socket/constdefs.h
|
|
|
|
/ext/socket/constdefs.c
|
2010-04-16 15:02:24 +04:00
|
|
|
|
2014-06-24 05:45:41 +04:00
|
|
|
# /gems
|
|
|
|
/gems/*.gem
|
2017-10-21 12:50:36 +03:00
|
|
|
/gems/src
|
2016-12-27 04:40:39 +03:00
|
|
|
/gems/*-*
|
2014-06-24 05:45:41 +04:00
|
|
|
|
2019-05-24 06:23:26 +03:00
|
|
|
# /lib/
|
2019-05-24 08:24:38 +03:00
|
|
|
/lib/ruby/[1-9]*.*
|
|
|
|
/lib/ruby/vendor_ruby
|
2019-05-24 06:23:26 +03:00
|
|
|
|
[ci-skip][Feature #18910][lldb] Provide class framework for lldb commands
`lldb_cruby.py` manages lldb custom commands using functions. The file
is a large list of Python functions, and an init handler to map some of
the Python functions into the debugger, to enable execution of custom
logic during a debugging session.
Since LLDB 3.7 (September 2015) there has also been support for using
python classes rather than bare functions, as long as those classes
implement a specific interface.
This PR Introduces some more defined structure to the LLDB helper
functions by switching from the function based implementation to the
class based one, and providing an auto-loading mechanism by which new
functions can be loaded.
The intention behind this change is to make working with the LLDB
helpers easier, by reducing code duplication, providing a consistent
structure and a clearer API for developers.
The current function based approach has some advantages and
disadvantages
Advantages:
- Adding new code is easy.
- All the code is self contained and searchable.
Disadvantages:
- No visible organisation of the file contents. This means
- Hard to tell which functions are utility functions and which are
available to you in a debugging session
- Lots of code duplication within lldb functions
- Large files quickly become intimidating to work with - for example,
`lldb_disasm.py` was implemented as a seperate Python module because
it was easier to start with a clean slate than add significant amounts
of code to `lldb_cruby.py`
This PR attempts, to fix the disadvantages of the current approach and
maintain, or enhance, the benefits. The new structure of a command looks
like this;
```
class TestCommand(RbBaseCommand):
# program is the keyword the user will type in lldb to execute this command
program = "test"
# help_string will be displayed in lldb when the user uses the help functions
help_string = "This is a test command to show how to implement lldb commands"
# call is where our command logic will be implemented
def call(self, debugger, command, exe_ctx, result):
pass
```
If the command fulfils the following criteria it will then be
auto-loaded when an lldb session is started:
- The package file must exist inside the `commands` directory and the
filename must end in `_command.py`
- The package must implement a class whose name ends in `Command`
- The class inherits from `RbBaseCommand` or at minimum a class that
shares the same interface as `RbBaseCommand` (at minimum this means
defining `__init__` and `__call__`, and using `__call__` to call
`call` which is defined in the subclasses).
- The class must have a class variable `package` that is a String. This
is the name of the command you'll call in the `lldb` debugger.
2022-07-13 15:18:03 +03:00
|
|
|
# /misc/
|
|
|
|
/misc/**/__pycache__
|
|
|
|
|
2017-09-08 11:45:41 +03:00
|
|
|
# /spec/bundler
|
|
|
|
/.rspec_status
|
|
|
|
|
2013-06-16 11:10:20 +04:00
|
|
|
# /tool/
|
|
|
|
/tool/config.guess
|
|
|
|
/tool/config.sub
|
|
|
|
|
2009-07-13 13:12:02 +04:00
|
|
|
# /win32/
|
|
|
|
/win32/*.ico
|
2018-02-04 08:49:21 +03:00
|
|
|
|
|
|
|
# MJIT
|
2018-02-22 10:34:43 +03:00
|
|
|
/include/ruby-*/*/rb_mjit_min_header-*.h
|
2022-09-18 08:02:09 +03:00
|
|
|
/lib/mjit/instruction.rb
|
2022-09-18 15:45:58 +03:00
|
|
|
/mjit_config.h
|
|
|
|
/rb_mjit_header.h
|
2021-12-08 16:19:52 +03:00
|
|
|
|
2022-09-20 00:07:28 +03:00
|
|
|
# YJIT
|
|
|
|
/yjit-bench
|
2022-12-05 05:22:48 +03:00
|
|
|
/yjit_exit_locations.dump
|
2022-09-20 00:07:28 +03:00
|
|
|
|
2021-12-08 16:19:52 +03:00
|
|
|
# /wasm/
|
|
|
|
/wasm/tests/*.wasm
|