Update linker version script globs to include `*pb::*` instead of just `pb::*`

For some reason it seems that `pb::*` does not match the type info symbol for
`pb::CppFeatures`. Ordinarily this does not seem to cause problems, but we
received a report about it causing issues with sanitizers:
https://groups.google.com/g/protobuf/c/ytkvjXXdG2g/m/hk7a5JnCAwAJ

For clarity I made the same change for `upb::`, though I don't think this is
strictly necessary since it is covered by the `*pb::*` glob.

PiperOrigin-RevId: 642390692
pull/17107/head
Adam Cozzette 6 months ago committed by Copybara-Service
parent a6d4827482
commit 435c182ae6
  1. 2
      src/libprotobuf-lite.map
  2. 2
      src/libprotobuf.map
  3. 4
      src/libprotoc.map

@ -2,7 +2,7 @@
global:
extern "C++" {
*google*;
pb::*;
*pb::*;
};
scc_info_*;
descriptor_table_*;

@ -2,7 +2,7 @@
global:
extern "C++" {
*google*;
pb::*;
*pb::*;
};
scc_info_*;
descriptor_table_*;

@ -2,8 +2,8 @@
global:
extern "C++" {
*google*;
pb::*;
upb::*;
*pb::*;
*upb::*;
};
scc_info_*;
descriptor_table_*;

Loading…
Cancel
Save