mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Don't output memory map in crash report for ASAN
ASAN maps a large amount of memory, which makes the memory map section massive.
This commit is contained in:
parent
ca2d19d4e5
commit
2da70aac25
Notes:
git
2024-12-12 19:08:14 +00:00
1 changed files with 10 additions and 8 deletions
|
@ -1212,6 +1212,7 @@ rb_vm_bugreport(const void *ctx, FILE *errout)
|
|||
}
|
||||
|
||||
{
|
||||
#ifndef RUBY_ASAN_ENABLED
|
||||
# ifdef PROC_MAPS_NAME
|
||||
{
|
||||
FILE *fp = fopen(PROC_MAPS_NAME, "r");
|
||||
|
@ -1285,6 +1286,7 @@ rb_vm_bugreport(const void *ctx, FILE *errout)
|
|||
addr += size;
|
||||
size = 0;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue