diff options
| author | Stella Laurenzo <stellaraccident@gmail.com> | 2020-10-09 11:49:38 -0700 |
|---|---|---|
| committer | Stella Laurenzo <stellaraccident@gmail.com> | 2020-10-09 12:12:34 -0700 |
| commit | 0e9b572949ce00e5ca01bf7555abdda12052a213 (patch) | |
| tree | a8b7590f6357697860b8f253b895c2be1d71821d /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
| parent | 40cef5a00eb83f44e946912b74be83e8dc02effb (diff) | |
| download | llvm-0e9b572949ce00e5ca01bf7555abdda12052a213.zip llvm-0e9b572949ce00e5ca01bf7555abdda12052a213.tar.gz llvm-0e9b572949ce00e5ca01bf7555abdda12052a213.tar.bz2 | |
[mlir] Fix TypeID for shared libraries built with -fvisibility=hidden.
* Isolates the visibility controlled parts of its implementation to a detail namespace.
* Applies a struct level visibility attribute which applies to the static local within the get() functions.
* The prior version was not emitting a symbol for the static local "instance" fields when the user TU was compiled with -fvisibility=hidden.
Differential Revision: https://reviews.llvm.org/D89153
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions
