Skip to content

Commit e4536b0

Browse files
authored
Revert ThinLTO workaround (emscripten-core#26556)
Partial revert of emscripten-core#26507 emscripten-core#26506 was fixed in LLVM.
1 parent c6180a6 commit e4536b0

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

test/codesize/test_codesize_cxx_lto.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"a.out.js": 18563,
33
"a.out.js.gz": 7666,
4-
"a.out.nodebug.wasm": 101954,
5-
"a.out.nodebug.wasm.gz": 39462,
6-
"total": 120517,
7-
"total_gz": 47128,
4+
"a.out.nodebug.wasm": 101956,
5+
"a.out.nodebug.wasm.gz": 39461,
6+
"total": 120519,
7+
"total_gz": 47127,
88
"sent": [
99
"a (emscripten_resize_heap)",
1010
"b (_setitimer_js)",

tools/system_libs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,8 +1091,6 @@ class libc(MuslInternalLibrary,
10911091

10921092
def __init__(self, **kwargs):
10931093
self.non_lto_files = self.get_libcall_files()
1094-
# TODO(https://github.com/emscripten-core/emscripten/issues/26506)
1095-
self.non_lto_files.append(utils.path_from_root('system/lib/libc/musl/src/locale/uselocale.c'))
10961094
super().__init__(**kwargs)
10971095

10981096
def get_libcall_files(self):

0 commit comments

Comments
 (0)