summaryrefslogtreecommitdiff
path: root/tool/leaked-globals
Commit message (Collapse)AuthorAgeFilesLines
* Include `--no-llvm-bc` option in `NM` macro only if usableNobuyoshi Nakada2023-04-081-5/+1
|
* leaked-globals: check for nm before files under missing [ci skip]Nobuyoshi Nakada2023-04-021-3/+5
| | | | | Abort if `nm` is not available, since it is needed by configure.ac to check for prefix of external symbols.
* leaked-globals: colorize skipping file names [ci skip]Nobuyoshi Nakada2023-04-021-1/+1
|
* RJIT: Stop allowing leaked globals rjit_*Takashi Kokubun2023-03-081-1/+1
|
* s/mjit/rjit/Takashi Kokubun2023-03-061-1/+1
|
* YJIT: Fix shared/static library symbol leaksAlan Wu2023-01-271-1/+8
| | | | | | | | | | | | | | | | | | | | Rust 1.58.0 unfortunately doesn't provide facilities to control symbol visibility/presence, but we care about controlling the list of symbols exported from libruby-static.a and libruby.so. This commit uses `ld -r` to make a single object out of rustc's staticlib output, libyjit.a. This moves libyjit.a out of MAINLIBS and adds libyjit.o into COMMONOBJS, which obviates the code for merging libyjit.a into libruby-static.a. The odd appearance of libyjit.a in SOLIBS is also gone. To filter out symbols we do not want to export on ELF platforms, we use objcopy after the partial link. On darwin, we supply a symbol list to the linker which takes care of hiding unprefixed symbols. [Bug #19255] Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* tool/leaked-globals: ignore function typedef [ci skip]Nobuyoshi Nakada2023-01-211-2/+3
|
* Canonicalization functions were removed alreadyNobuyoshi Nakada2020-12-291-1/+1
| | | | At b958e2add835d62c0a62edaf9a23ecbbd70a3635
* Ignore symbols declared in the platform headerNobuyoshi Nakada2020-12-271-0/+15
|
* Ignore objects from the "missing" directoryNobuyoshi Nakada2020-12-271-1/+8
|
* Get rid of \K for old BASERUBYs which have a bug in String#scanNobuyoshi Nakada2020-12-271-1/+1
|
* Exclude entry pointsNobuyoshi Nakada2020-12-271-0/+1
|
* Support AC_FUNC_MEMCMPNobuyoshi Nakada2020-12-271-1/+3
|
* Update leaked-globals [Bug #16934]Nobuyoshi Nakada2020-06-041-2/+2
| | | | | * match uppercase types which would be global, other than [BDT] * ignore `RUBY_` prefixed symbols
* st.c: Use rb_st_* prefix instead of st_* (#2479)Yusuke Endoh2019-09-221-1/+1
| | | | | | | | | | | The original st.c was public domain hash table implementation, but Ruby's st.c is highly modified, and its data structure is not compatiblie with the original one. Therefore, when creating an extension library to wrap C code that uses the original st.c, the symbols conflict, which leads to segfault. This changes the prefix `st_*` of st.c functions to `rb_st_*` for reflecting that they are specific to Ruby's, and avoid symbol conflicts.
* Put colorize to library directory.Hiroshi SHIBATA2019-07-151-1/+1
| | | | Same as 66299e7ca83d379d13abaa5411f3e0419334cabb
* leaked-globals: check if un-prefixed symbols leak externallyNobuyoshi Nakada2019-05-161-0/+40