Fields

hardware None
os None

Parameters

Fields

NameValue

Parameters

NameValue
git_commit commit 34d0c99d82791607d96db18b94218269106ef3b8
Author: Louis Dionne <ldionne.2@gmail.com>
Date: Thu Oct 3 09:58:11 2024 -0400

[libc++] Stop trying to avoid exporting some typeinfo names (#110925)

When the library was initially written, it was not built with hidden
visibility. In an attempt to reduce the number of symbols exported from
libc++, an explicit list of symbols to avoid exporting was passed to the
linker. This was only done on Apple platforms.

Since then, the library has moved on in several ways. First, we now
build with hidden visibility by default, so arbitrary symbols don't get
exported from the library for no reason. Second, we have proper
visibility control via source annotations, so we export exactly what we
want to, and we do that from the sources.

This patch removes the explicit list of symbols to avoid exporting from
the library, which at this point doesn't cover much anyways. The only
symbols we will now be exporting that we were not before are some
typeinfo names for implementation-detail types. While we technically
wouldn't have to export those (I don't think any user can get their
hands on those typeinfo names), that makes the library more consistent
on all platforms.
Filter

ldionne-old-macbook-results test results

Run Order Start Time Duration
Current 513926 2025-12-16T16:40:01 0:00:00
Previous 513925 2025-12-16T16:40:01 0:00:00
Baseline 485288 2025-12-16T16:40:01 0:00:00


Tests Summary

Status Group # # (B)
Total Tests 0

Report Time: 0.13s