commit | 77098e24900b875b4cefe2895161b634a79168f2 | [log] [tgz] |
---|---|---|
author | Sam Clegg <sbc@chromium.org> | Mon Oct 23 10:08:08 2023 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Oct 23 10:10:48 2023 -0700 |
tree | eef031d89ff834e8cba6353b2ebc15b44c44d7c6 | |
parent | 4b6dfa2bc03e66e0869473ddb5411ea111e11f66 [diff] |
[LowerGlobalDtors] Skip __cxa_atexit call completely when arg0 is unused (#68758) In emscripten we have a build mode (the default actually) where the runtime never exits and therefore `__cxa_atexit` is a dummy/stub function that does nothing. In this case we would like to be able completely DCE any otherwise-unused global dtor functions. Fixes: https://github.com/emscripten-core/emscripten/issues/19993 GitOrigin-RevId: e01c7d54b4b05764adc546900009af03dced99a2
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f
.