debase-ruby_core_source 0.10.9 → 0.10.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +1 -1
  4. data/debase-ruby_core_source.gemspec +3 -2
  5. data/lib/debase/ruby_core_source.rb +0 -2
  6. data/lib/debase/ruby_core_source/version.rb +1 -1
  7. metadata +22 -113
  8. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/addr2line.h +0 -21
  9. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/build_assert/build_assert.h +0 -40
  10. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/check_type/check_type.h +0 -63
  11. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/container_of/container_of.h +0 -142
  12. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/list/list.h +0 -788
  13. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/str/str.h +0 -16
  14. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/constant.h +0 -54
  15. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/debug_counter.h +0 -378
  16. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/dln.h +0 -51
  17. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/encindex.h +0 -69
  18. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/eval_intern.h +0 -314
  19. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/gc.h +0 -129
  20. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/hrtime.h +0 -168
  21. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/id.h +0 -292
  22. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/id_table.h +0 -34
  23. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/insns.inc +0 -249
  24. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/insns_info.inc +0 -9614
  25. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/internal.h +0 -2682
  26. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/iseq.h +0 -312
  27. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/known_errors.inc +0 -791
  28. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/method.h +0 -232
  29. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/mjit.h +0 -179
  30. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/mjit_compile.inc +0 -7883
  31. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/node.h +0 -483
  32. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/node_name.inc +0 -210
  33. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/opt_sc.inc +0 -109
  34. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/optinsn.inc +0 -128
  35. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/optunifs.inc +0 -43
  36. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/parse.h +0 -210
  37. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/probes_helper.h +0 -42
  38. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/regenc.h +0 -254
  39. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/regint.h +0 -938
  40. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/regparse.h +0 -370
  41. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/revision.h +0 -2
  42. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ruby_assert.h +0 -15
  43. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/ruby_atomic.h +0 -244
  44. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/siphash.h +0 -48
  45. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/symbol.h +0 -119
  46. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/thread_pthread.h +0 -75
  47. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/thread_win32.h +0 -36
  48. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/timev.h +0 -56
  49. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/transcode_data.h +0 -139
  50. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/transient_heap.h +0 -62
  51. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/version.h +0 -77
  52. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm.inc +0 -5269
  53. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_call_iseq_optimized.inc +0 -237
  54. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_core.h +0 -1955
  55. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_debug.h +0 -34
  56. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_exec.h +0 -193
  57. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_insnhelper.h +0 -255
  58. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_opts.h +0 -70
  59. data/lib/debase/ruby_core_source/ruby-2.7.0-preview2/vmtc.inc +0 -243
  60. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/addr2line.h +0 -21
  61. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/builtin.h +0 -68
  62. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/ccan/build_assert/build_assert.h +0 -40
  63. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/ccan/check_type/check_type.h +0 -63
  64. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/ccan/container_of/container_of.h +0 -142
  65. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/ccan/list/list.h +0 -788
  66. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/ccan/str/str.h +0 -16
  67. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/constant.h +0 -50
  68. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/debug_counter.h +0 -378
  69. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/dln.h +0 -51
  70. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/encindex.h +0 -69
  71. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/eval_intern.h +0 -311
  72. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/gc.h +0 -129
  73. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/hrtime.h +0 -168
  74. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/id.h +0 -290
  75. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/id_table.h +0 -34
  76. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/insns.inc +0 -253
  77. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/insns_info.inc +0 -9196
  78. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/internal.h +0 -2657
  79. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/iseq.h +0 -311
  80. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/known_errors.inc +0 -791
  81. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/method.h +0 -228
  82. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/mjit.h +0 -175
  83. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/mjit_compile.inc +0 -7782
  84. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/node.h +0 -476
  85. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/node_name.inc +0 -208
  86. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/opt_sc.inc +0 -109
  87. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/optinsn.inc +0 -128
  88. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/optunifs.inc +0 -43
  89. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/parse.h +0 -210
  90. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/probes_helper.h +0 -42
  91. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/regenc.h +0 -254
  92. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/regint.h +0 -938
  93. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/regparse.h +0 -370
  94. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/revision.h +0 -2
  95. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/ruby_assert.h +0 -15
  96. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/ruby_atomic.h +0 -244
  97. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/siphash.h +0 -48
  98. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/symbol.h +0 -119
  99. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/thread_pthread.h +0 -75
  100. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/thread_win32.h +0 -36
  101. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/timev.h +0 -56
  102. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/transcode_data.h +0 -139
  103. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/transient_heap.h +0 -62
  104. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/version.h +0 -77
  105. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm.inc +0 -5319
  106. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_call_iseq_optimized.inc +0 -237
  107. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_core.h +0 -1957
  108. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_debug.h +0 -34
  109. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_exec.h +0 -193
  110. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_insnhelper.h +0 -255
  111. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_opts.h +0 -72
  112. data/lib/debase/ruby_core_source/ruby-2.7.0-preview3/vmtc.inc +0 -247
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 294cd72e2168d625b5932bdd330856c271cb0657123d51f7069b8ef880d5bf63
4
- data.tar.gz: 63670f87b464736bca2f1e1dbeca3403e3fa88cf05daa4792980be8e481a1511
3
+ metadata.gz: b2aa26f507b3b2cd516c1fb0b3f99e766de9f6a2a323757f0053932419f8f177
4
+ data.tar.gz: 640b5f6c13a9a47812cdbf927cbe3445ec5214d6d862481e8933c71994de1189
5
5
  SHA512:
6
- metadata.gz: d19b9a31e40fcb1d29c96aad228e34ed996834c28a0192b18369e4ed444fce45de44d7a2ca845eb6518299a8b13126c056e3f68087f2db2fc9380a2d41f26430
7
- data.tar.gz: 8b2996c2116e0c01641dea3a36c210d361f4f07fb8f2de6dc95d6bc4b34bf05f40c98155d2986651316244bd0453c2415b0d12659b7aca04273c777a08dfdf79
6
+ metadata.gz: ea756a130074c66510d11fba61ba705f6969dbda3c28dc13cb0fbf4b5347d9091d75ea576cdb4d928eab5314688be620b871489939093351d807d7bfc402c2b5
7
+ data.tar.gz: d835c83bdca8cfba3cf19ea6f0c3ac3a0065a1d0d6a1dc8c4ecb749af0eeb61bedbc2df926f5e8b4f31a76b0d00142416dc3283cd731180312ab70717bb4f210
@@ -1,3 +1,7 @@
1
+ ## [0.10.10](https://github.com/ruby-debug/debase-ruby_core_source/compare/v0.10.9...v0.10.10)
2
+
3
+ * removed ruby 2.7.0 preview sources to avoid falling back on them for release versions
4
+
1
5
  ## [0.10.9](https://github.com/os97673/debase-ruby_core_source/compare/v0.10.8...v0.10.9)
2
6
 
3
7
  * ruby 2.7.0 added (contributed by [ViugiNick](https://github.com/ViugiNick))
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  ## Description
2
2
  Fork of [debugger-ruby\_core\_source](https://github.com/cldwalker/debugger-ruby_core_source)
3
3
  that uses included Ruby headers (\*.h and \*.inc) instead of downloading
4
- them. Used by [debase](http://github.com/denofevil/debase).
4
+ them. Used by [debase](http://github.com/ruby-debug/debase).
5
5
  Only ruby >= 2.0.0 is supported (debase doesn't work for older rubies)
6
6
 
7
7
  ## Usage
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = Debase::RubyCoreSource::VERSION
8
8
  s.authors = ["Mark Moseley", "Gabriel Horner", "JetBrains RubyMine Team"]
9
9
  s.email = "os97673@gmail.com"
10
- s.homepage = "http://github.com/os97673/debase-ruby_core_source"
10
+ s.homepage = "http://github.com/ruby-debug/debase-ruby_core_source"
11
11
  s.summary = %q{Provide Ruby core source files}
12
12
  s.description = %q{Provide Ruby core source files for C extensions that need them.}
13
13
  s.license = "MIT"
@@ -15,6 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.required_ruby_version = '~> 2.0'
16
16
  s.extra_rdoc_files = [ "README.md"]
17
17
  s.files = `git ls-files`.split("\n")
18
- s.add_development_dependency "archive-tar-minitar", ">= 0.5.2"
18
+ s.add_development_dependency "archive-tar-minitar", "~> 0.8"
19
19
  s.add_development_dependency 'rake', '~> 0.9.2'
20
+ s.add_development_dependency 'minitar-cli', '~> 0.8'
20
21
  end
@@ -8,8 +8,6 @@ module Debase
8
8
  # Revision can be found at `revision.h` of ruby sources.
9
9
  # Format of this hash:
10
10
  # <RUBY_REVISION> => '<sources directory name>', e.g. `61243 => 'ruby-2.5.0-rc1'`
11
- '02aadf1032d71a3f81653a955f2635c8853b0aca' => 'ruby-2.7.0-preview2',
12
- 'b563439274a402e33541f5695b1bfd4ac1085638' => 'ruby-2.7.0-preview3',
13
11
  }
14
12
 
15
13
  def self.create_makefile_with_core(hdrs, name)
@@ -1,5 +1,5 @@
1
1
  module Debase
2
2
  module RubyCoreSource
3
- VERSION = '0.10.9'
3
+ VERSION = '0.10.10'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debase-ruby_core_source
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.9
4
+ version: 0.10.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Moseley
@@ -10,22 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-12-27 00:00:00.000000000 Z
13
+ date: 2020-08-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: archive-tar-minitar
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">="
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: 0.5.2
21
+ version: '0.8'
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ">="
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: 0.5.2
28
+ version: '0.8'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rake
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -40,6 +40,20 @@ dependencies:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
42
  version: 0.9.2
43
+ - !ruby/object:Gem::Dependency
44
+ name: minitar-cli
45
+ requirement: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '0.8'
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '0.8'
43
57
  description: Provide Ruby core source files for C extensions that need them.
44
58
  email: os97673@gmail.com
45
59
  executables: []
@@ -2285,113 +2299,8 @@ files:
2285
2299
  - lib/debase/ruby_core_source/ruby-2.7.0-p0/vm_insnhelper.h
2286
2300
  - lib/debase/ruby_core_source/ruby-2.7.0-p0/vm_opts.h
2287
2301
  - lib/debase/ruby_core_source/ruby-2.7.0-p0/vmtc.inc
2288
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/addr2line.h
2289
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/build_assert/build_assert.h
2290
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/check_type/check_type.h
2291
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/container_of/container_of.h
2292
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/list/list.h
2293
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/ccan/str/str.h
2294
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/constant.h
2295
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/debug_counter.h
2296
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/dln.h
2297
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/encindex.h
2298
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/eval_intern.h
2299
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/gc.h
2300
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/hrtime.h
2301
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/id.h
2302
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/id_table.h
2303
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/insns.inc
2304
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/insns_info.inc
2305
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/internal.h
2306
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/iseq.h
2307
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/known_errors.inc
2308
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/method.h
2309
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/mjit.h
2310
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/mjit_compile.inc
2311
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/node.h
2312
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/node_name.inc
2313
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/opt_sc.inc
2314
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/optinsn.inc
2315
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/optunifs.inc
2316
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/parse.h
2317
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/probes_helper.h
2318
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/regenc.h
2319
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/regint.h
2320
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/regparse.h
2321
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/revision.h
2322
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/ruby_assert.h
2323
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/ruby_atomic.h
2324
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/siphash.h
2325
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/symbol.h
2326
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/thread_pthread.h
2327
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/thread_win32.h
2328
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/timev.h
2329
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/transcode_data.h
2330
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/transient_heap.h
2331
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/version.h
2332
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm.inc
2333
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_call_iseq_optimized.inc
2334
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_core.h
2335
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_debug.h
2336
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_exec.h
2337
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_insnhelper.h
2338
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/vm_opts.h
2339
- - lib/debase/ruby_core_source/ruby-2.7.0-preview2/vmtc.inc
2340
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/addr2line.h
2341
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/builtin.h
2342
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/ccan/build_assert/build_assert.h
2343
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/ccan/check_type/check_type.h
2344
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/ccan/container_of/container_of.h
2345
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/ccan/list/list.h
2346
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/ccan/str/str.h
2347
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/constant.h
2348
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/debug_counter.h
2349
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/dln.h
2350
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/encindex.h
2351
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/eval_intern.h
2352
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/gc.h
2353
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/hrtime.h
2354
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/id.h
2355
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/id_table.h
2356
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/insns.inc
2357
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/insns_info.inc
2358
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/internal.h
2359
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/iseq.h
2360
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/known_errors.inc
2361
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/method.h
2362
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/mjit.h
2363
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/mjit_compile.inc
2364
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/node.h
2365
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/node_name.inc
2366
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/opt_sc.inc
2367
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/optinsn.inc
2368
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/optunifs.inc
2369
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/parse.h
2370
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/probes_helper.h
2371
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/regenc.h
2372
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/regint.h
2373
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/regparse.h
2374
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/revision.h
2375
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/ruby_assert.h
2376
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/ruby_atomic.h
2377
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/siphash.h
2378
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/symbol.h
2379
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/thread_pthread.h
2380
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/thread_win32.h
2381
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/timev.h
2382
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/transcode_data.h
2383
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/transient_heap.h
2384
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/version.h
2385
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm.inc
2386
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_call_iseq_optimized.inc
2387
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_core.h
2388
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_debug.h
2389
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_exec.h
2390
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_insnhelper.h
2391
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/vm_opts.h
2392
- - lib/debase/ruby_core_source/ruby-2.7.0-preview3/vmtc.inc
2393
2302
  - lib/debase/ruby_core_source/version.rb
2394
- homepage: http://github.com/os97673/debase-ruby_core_source
2303
+ homepage: http://github.com/ruby-debug/debase-ruby_core_source
2395
2304
  licenses:
2396
2305
  - MIT
2397
2306
  metadata: {}
@@ -2410,7 +2319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2410
2319
  - !ruby/object:Gem::Version
2411
2320
  version: 1.3.6
2412
2321
  requirements: []
2413
- rubygems_version: 3.0.4
2322
+ rubygems_version: 3.1.2
2414
2323
  signing_key:
2415
2324
  specification_version: 4
2416
2325
  summary: Provide Ruby core source files
@@ -1,21 +0,0 @@
1
- /**********************************************************************
2
-
3
- addr2line.h -
4
-
5
- $Author$
6
-
7
- Copyright (C) 2010 Shinichiro Hamaji
8
-
9
- **********************************************************************/
10
-
11
- #ifndef RUBY_ADDR2LINE_H
12
- #define RUBY_ADDR2LINE_H
13
-
14
- #if (defined(USE_ELF) || defined(HAVE_MACH_O_LOADER_H))
15
-
16
- void
17
- rb_dump_backtrace_with_lines(int num_traces, void **traces);
18
-
19
- #endif /* USE_ELF */
20
-
21
- #endif /* RUBY_ADDR2LINE_H */
@@ -1,40 +0,0 @@
1
- /* CC0 (Public domain) - see ccan/licenses/CC0 file for details */
2
- #ifndef CCAN_BUILD_ASSERT_H
3
- #define CCAN_BUILD_ASSERT_H
4
-
5
- /**
6
- * BUILD_ASSERT - assert a build-time dependency.
7
- * @cond: the compile-time condition which must be true.
8
- *
9
- * Your compile will fail if the condition isn't true, or can't be evaluated
10
- * by the compiler. This can only be used within a function.
11
- *
12
- * Example:
13
- * #include <stddef.h>
14
- * ...
15
- * static char *foo_to_char(struct foo *foo)
16
- * {
17
- * // This code needs string to be at start of foo.
18
- * BUILD_ASSERT(offsetof(struct foo, string) == 0);
19
- * return (char *)foo;
20
- * }
21
- */
22
- #define BUILD_ASSERT(cond) \
23
- do { (void) sizeof(char [1 - 2*!(cond)]); } while(0)
24
-
25
- /**
26
- * BUILD_ASSERT_OR_ZERO - assert a build-time dependency, as an expression.
27
- * @cond: the compile-time condition which must be true.
28
- *
29
- * Your compile will fail if the condition isn't true, or can't be evaluated
30
- * by the compiler. This can be used in an expression: its value is "0".
31
- *
32
- * Example:
33
- * #define foo_to_char(foo) \
34
- * ((char *)(foo) \
35
- * + BUILD_ASSERT_OR_ZERO(offsetof(struct foo, string) == 0))
36
- */
37
- #define BUILD_ASSERT_OR_ZERO(cond) \
38
- (sizeof(char [1 - 2*!(cond)]) - 1)
39
-
40
- #endif /* CCAN_BUILD_ASSERT_H */
@@ -1,63 +0,0 @@
1
- /* CC0 (Public domain) - see ccan/licenses/CC0 file for details */
2
- #ifndef CCAN_CHECK_TYPE_H
3
- #define CCAN_CHECK_TYPE_H
4
-
5
- /**
6
- * check_type - issue a warning or build failure if type is not correct.
7
- * @expr: the expression whose type we should check (not evaluated).
8
- * @type: the exact type we expect the expression to be.
9
- *
10
- * This macro is usually used within other macros to try to ensure that a macro
11
- * argument is of the expected type. No type promotion of the expression is
12
- * done: an unsigned int is not the same as an int!
13
- *
14
- * check_type() always evaluates to 0.
15
- *
16
- * If your compiler does not support typeof, then the best we can do is fail
17
- * to compile if the sizes of the types are unequal (a less complete check).
18
- *
19
- * Example:
20
- * // They should always pass a 64-bit value to _set_some_value!
21
- * #define set_some_value(expr) \
22
- * _set_some_value((check_type((expr), uint64_t), (expr)))
23
- */
24
-
25
- /**
26
- * check_types_match - issue a warning or build failure if types are not same.
27
- * @expr1: the first expression (not evaluated).
28
- * @expr2: the second expression (not evaluated).
29
- *
30
- * This macro is usually used within other macros to try to ensure that
31
- * arguments are of identical types. No type promotion of the expressions is
32
- * done: an unsigned int is not the same as an int!
33
- *
34
- * check_types_match() always evaluates to 0.
35
- *
36
- * If your compiler does not support typeof, then the best we can do is fail
37
- * to compile if the sizes of the types are unequal (a less complete check).
38
- *
39
- * Example:
40
- * // Do subtraction to get to enclosing type, but make sure that
41
- * // pointer is of correct type for that member.
42
- * #define container_of(mbr_ptr, encl_type, mbr) \
43
- * (check_types_match((mbr_ptr), &((encl_type *)0)->mbr), \
44
- * ((encl_type *) \
45
- * ((char *)(mbr_ptr) - offsetof(enclosing_type, mbr))))
46
- */
47
- #if HAVE_TYPEOF
48
- #define check_type(expr, type) \
49
- ((typeof(expr) *)0 != (type *)0)
50
-
51
- #define check_types_match(expr1, expr2) \
52
- ((typeof(expr1) *)0 != (typeof(expr2) *)0)
53
- #else
54
- #include "ccan/build_assert/build_assert.h"
55
- /* Without typeof, we can only test the sizes. */
56
- #define check_type(expr, type) \
57
- BUILD_ASSERT_OR_ZERO(sizeof(expr) == sizeof(type))
58
-
59
- #define check_types_match(expr1, expr2) \
60
- BUILD_ASSERT_OR_ZERO(sizeof(expr1) == sizeof(expr2))
61
- #endif /* HAVE_TYPEOF */
62
-
63
- #endif /* CCAN_CHECK_TYPE_H */
@@ -1,142 +0,0 @@
1
- /* CC0 (Public domain) - see ccan/licenses/CC0 file for details */
2
- #ifndef CCAN_CONTAINER_OF_H
3
- #define CCAN_CONTAINER_OF_H
4
- #include "ccan/check_type/check_type.h"
5
-
6
- /**
7
- * container_of - get pointer to enclosing structure
8
- * @member_ptr: pointer to the structure member
9
- * @containing_type: the type this member is within
10
- * @member: the name of this member within the structure.
11
- *
12
- * Given a pointer to a member of a structure, this macro does pointer
13
- * subtraction to return the pointer to the enclosing type.
14
- *
15
- * Example:
16
- * struct foo {
17
- * int fielda, fieldb;
18
- * // ...
19
- * };
20
- * struct info {
21
- * int some_other_field;
22
- * struct foo my_foo;
23
- * };
24
- *
25
- * static struct info *foo_to_info(struct foo *foo)
26
- * {
27
- * return container_of(foo, struct info, my_foo);
28
- * }
29
- */
30
- #define container_of(member_ptr, containing_type, member) \
31
- ((containing_type *) \
32
- ((char *)(member_ptr) \
33
- - container_off(containing_type, member)) \
34
- + check_types_match(*(member_ptr), ((containing_type *)0)->member))
35
-
36
-
37
- /**
38
- * container_of_or_null - get pointer to enclosing structure, or NULL
39
- * @member_ptr: pointer to the structure member
40
- * @containing_type: the type this member is within
41
- * @member: the name of this member within the structure.
42
- *
43
- * Given a pointer to a member of a structure, this macro does pointer
44
- * subtraction to return the pointer to the enclosing type, unless it
45
- * is given NULL, in which case it also returns NULL.
46
- *
47
- * Example:
48
- * struct foo {
49
- * int fielda, fieldb;
50
- * // ...
51
- * };
52
- * struct info {
53
- * int some_other_field;
54
- * struct foo my_foo;
55
- * };
56
- *
57
- * static struct info *foo_to_info_allowing_null(struct foo *foo)
58
- * {
59
- * return container_of_or_null(foo, struct info, my_foo);
60
- * }
61
- */
62
- static inline char *container_of_or_null_(void *member_ptr, size_t offset)
63
- {
64
- return member_ptr ? (char *)member_ptr - offset : NULL;
65
- }
66
- #define container_of_or_null(member_ptr, containing_type, member) \
67
- ((containing_type *) \
68
- container_of_or_null_(member_ptr, \
69
- container_off(containing_type, member)) \
70
- + check_types_match(*(member_ptr), ((containing_type *)0)->member))
71
-
72
- /**
73
- * container_off - get offset to enclosing structure
74
- * @containing_type: the type this member is within
75
- * @member: the name of this member within the structure.
76
- *
77
- * Given a pointer to a member of a structure, this macro does
78
- * typechecking and figures out the offset to the enclosing type.
79
- *
80
- * Example:
81
- * struct foo {
82
- * int fielda, fieldb;
83
- * // ...
84
- * };
85
- * struct info {
86
- * int some_other_field;
87
- * struct foo my_foo;
88
- * };
89
- *
90
- * static struct info *foo_to_info(struct foo *foo)
91
- * {
92
- * size_t off = container_off(struct info, my_foo);
93
- * return (void *)((char *)foo - off);
94
- * }
95
- */
96
- #define container_off(containing_type, member) \
97
- offsetof(containing_type, member)
98
-
99
- /**
100
- * container_of_var - get pointer to enclosing structure using a variable
101
- * @member_ptr: pointer to the structure member
102
- * @container_var: a pointer of same type as this member's container
103
- * @member: the name of this member within the structure.
104
- *
105
- * Given a pointer to a member of a structure, this macro does pointer
106
- * subtraction to return the pointer to the enclosing type.
107
- *
108
- * Example:
109
- * static struct info *foo_to_i(struct foo *foo)
110
- * {
111
- * struct info *i = container_of_var(foo, i, my_foo);
112
- * return i;
113
- * }
114
- */
115
- #if HAVE_TYPEOF
116
- #define container_of_var(member_ptr, container_var, member) \
117
- container_of(member_ptr, typeof(*container_var), member)
118
- #else
119
- #define container_of_var(member_ptr, container_var, member) \
120
- ((void *)((char *)(member_ptr) - \
121
- container_off_var(container_var, member)))
122
- #endif
123
-
124
- /**
125
- * container_off_var - get offset of a field in enclosing structure
126
- * @container_var: a pointer to a container structure
127
- * @member: the name of a member within the structure.
128
- *
129
- * Given (any) pointer to a structure and a its member name, this
130
- * macro does pointer subtraction to return offset of member in a
131
- * structure memory layout.
132
- *
133
- */
134
- #if HAVE_TYPEOF
135
- #define container_off_var(var, member) \
136
- container_off(typeof(*var), member)
137
- #else
138
- #define container_off_var(var, member) \
139
- ((const char *)&(var)->member - (const char *)(var))
140
- #endif
141
-
142
- #endif /* CCAN_CONTAINER_OF_H */