Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from ruby:master #348

Merged
merged 155 commits into from
Aug 2, 2023
Merged

[pull] master from ruby:master #348

merged 155 commits into from
Aug 2, 2023

Conversation

pull[bot]
Copy link

@pull pull bot commented Jul 25, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

nagachika and others added 19 commits July 23, 2023 22:47
…check

Bundler is special since it's not actually locked in the lockfile as a
regular gem (only via `BUNDLED WITH`). So exclude it from that check.

rubygems/rubygems@9f1756ec47
[Feature #19755]

Before (in /tmp/test.rb):

```ruby
Object.class_eval("p __FILE__") # => "(eval)"
```

After:

```ruby
Object.class_eval("p __FILE__") # => "(eval at /tmp/test.rb:1)"
```

This makes it much easier to track down generated code in case
the author forgot to provide a filename argument.
Since edf01d4, fake string treats
NULL as an empty string.
Assume macros with the same prefix would be defined together.
https://github.com/peterzhu2118/ruby/actions/runs/5649652235/job/15304434412

> Errno::ENOENT: No such file or directory @ rb_sysopen -
> ./.downloaded-cache/config.guess:
> https://github.com/raw/gcc-mirror/gcc/master/config.guess

Unsure about the root cause but making sure the directory is there seems like a
plausible fix. Maybe the issue is sensitive to cache state.
Updated output examples to current format since the output format has changed since version 2.2.0.dev

rubygems/rubygems@48d98f906a
@pull pull bot added the ⤵️ pull label Jul 25, 2023
nobu and others added 29 commits July 31, 2023 23:23
This commit stores the initial slots per size pool, configured with
the environment variables `RUBY_GC_HEAP_INIT_SIZE_%d_SLOTS`. This
ensures that the configured initial slots remains a low bound for the
number of slots in the heap, which can prevent heaps from thrashing in
size.
It's not guaranteed that the first element will always be embedded.
These arguments can only be `true` or `false` now.  Also add markups.
If the stack is not cleared (e.g. compiling with -O0), then `ary` could
remain on the stack, which would be marked. Clear the array first to
make sure all the objects can be GC'd.
addr2line.c: fix DW_FORM_ref_addr parsing for DWARF 2

This fixes a crash when retrieving backtrace info with YJIT enabled on
macOS with Rust 1.71.0. Since Rust 1.71.0, the DWARF info generated by
the Rust compiler uses DW_FORM_ref_addr instead of DW_FORM_ref4 for
pointers to other DIEs.
DW_FORM_ref_addr representation in DWARF 2 is different from DWARF 3+,
so we need to handle it separately.
This patch fixes the parsing of DW_FORM_ref_addr for DWARF 2, which is
the default DWARF version Rustc uses on macOS.

See the DWARF 2.0.0 spec, section 7.5.4 Attribute Encodings
https://dwarfstd.org/doc/dwarf-2.0.0.pdf

https://bugs.ruby-lang.org/issues/19789
Not setting a value to global_init_slots causes get_envparam_size to
output a broken default value.
(ruby/irb#658)

* Decouple `edit` command from `show_source`

2 commands should not depend on each other. If `edit` command also needs
to find a source, the source finding logic should be extracted into a
separate class.

* Return nil if is not an actual file path

* Refactor SourceFinder

ruby/irb@9790517a0c
This test is flaky on "SPARC Solaris 10 (gcc)" CI with this message:

TestGCCompact#test_moving_objects_between_size_pools [test/ruby/test_gc_compact.rb:378]:
Expected 499 to be >= 500.
- Fix indentations of labeled lists.
- Mention performance category.
```ruby
  def helper_cant_rescue
    begin
      raise SyntaxError
    rescue
      cant_rescue # here
    end
  end
```

on this case, a line event is reported on `cant_rescue` line
because of node structure. it should not be reported.
(ruby/irb#661)

* Create a new Workspace command category

* Update readme

ruby/irb@310650c213
* YJIT: handle expandarray_rhs_too_small case

* YJIT: fix csel bug in x86 backend, add test

* Remove commented out lines
For some reason, there was a pull request that contains a YJIT change
but did not run Cirrus CI, which ended up failing Cirrus CI on master.

This `auto_cancellation` config seems suspicious. Now that we have
`only_if`, I don't think we need an extra guard besides that.
According to @naruse, this `kprintf` was to avoid some segfaults, but
turned out it seemed another issue after all.
Recent GitHub Actions Windows containers seem having Strawberry tools.
This reverts commit 3b88a0b.

  This commit break aarch64 platform and Apple Silicon
@pull pull bot merged commit fd782dc into wapm-packages:master Aug 2, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.