-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Update compiler-rt to LLVM 20.1.4 #24357
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
Conversation
In llvm/llvm-project#108883, `GetThreadStackAndTls`'s API changed from ``` void GetThreadStackAndTls(bool main, uptr *stk_addr, uptr *stk_size, uptr *tls_addr, uptr *tls_size); ``` to ``` void GetThreadStackAndTls(bool main, uptr *stk_begin, uptr *stk_end, uptr *tls_begin, uptr *tls_end); ``` So this fixes `sanitizer_emscripten.cpp`'s `GetThreadStackAndTls` accordingly. Also this changes the variable names to match those of the header (https://github.com/llvm/llvm-project/blob/ec28b8f9cc7f2ac187d8a617a6d08d5e56f9120e/compiler-rt/lib/sanitizer_common/sanitizer_common.h#L86-L87)
This is an automatic change generated by tools/maint/rebaseline_tests.py. The following (9) test expectation files were updated by running the tests with `--rebaseline`: ``` other/codesize/test_codesize_cxx_ctors1.size: 129217 => 129319 [+102 bytes / +0.08%] other/codesize/test_codesize_cxx_ctors2.size: 128610 => 128712 [+102 bytes / +0.08%] other/codesize/test_codesize_cxx_except.size: 170838 => 170940 [+102 bytes / +0.06%] other/codesize/test_codesize_cxx_except_wasm.size: 144593 => 144695 [+102 bytes / +0.07%] other/codesize/test_codesize_cxx_except_wasm_legacy.size: 142168 => 142270 [+102 bytes / +0.07%] other/codesize/test_codesize_cxx_lto.size: 121938 => 122042 [+104 bytes / +0.09%] other/codesize/test_codesize_cxx_mangle.size: 232596 => 232698 [+102 bytes / +0.04%] other/codesize/test_codesize_cxx_noexcept.size: 131780 => 131882 [+102 bytes / +0.08%] other/codesize/test_codesize_cxx_wasmfs.size: 169161 => 169263 [+102 bytes / +0.06%] Average change: +0.07% (+0.04% - +0.09%) ```
Ran all asan, lsan, and ubsan tests locally and these are the failing tests. But they fail in the main branch too. And the error messages don't look like sanitizer issues.
|
The CI's test-esm-integration error says:
Do you have any idea what this is about? |
Unrelated. Should be fixed on main now. Feel free to ignore it. |
ChangeLog.md
Outdated
@@ -20,6 +20,7 @@ See docs/process.md for more on how version tagging works. | |||
|
|||
4.0.9 (in development) | |||
---------------------- | |||
- compiler-rt was updated to LLVM 20.1.4. (#24357) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to move now
This is an automatic change generated by tools/maint/rebaseline_tests.py. The following (9) test expectation files were updated by running the tests with `--rebaseline`: ``` other/codesize/test_codesize_cxx_ctors1.size: 129654 => 129756 [+102 bytes / +0.08%] other/codesize/test_codesize_cxx_ctors2.size: 129039 => 129141 [+102 bytes / +0.08%] other/codesize/test_codesize_cxx_except.size: 171324 => 171426 [+102 bytes / +0.06%] other/codesize/test_codesize_cxx_except_wasm.size: 144770 => 144872 [+102 bytes / +0.07%] other/codesize/test_codesize_cxx_except_wasm_legacy.size: 142360 => 142462 [+102 bytes / +0.07%] other/codesize/test_codesize_cxx_lto.size: 121882 => 121986 [+104 bytes / +0.09%] other/codesize/test_codesize_cxx_mangle.size: 235388 => 235490 [+102 bytes / +0.04%] other/codesize/test_codesize_cxx_noexcept.size: 132027 => 132129 [+102 bytes / +0.08%] other/codesize/test_codesize_cxx_wasmfs.size: 169897 => 169999 [+102 bytes / +0.06%] Average change: +0.07% (+0.04% - +0.09%) ```
This updates compiler-rt to LLVM 20.1.4.
Additional change:
In Reland "[sanitizer] Fix partially initialized static TLS range" llvm/llvm-project#108883,
GetThreadStackAndTls
's API changed fromsanitizer_emscripten.cpp
'sGetThreadStackAndTls
accordingly. Also this changes the variable names to match those of the header.