diff options
author | Fangrui Song <i@maskray.me> | 2024-04-12 10:49:39 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-04-12 10:49:39 -0700 |
commit | 9022d9c102a8c47616fbeb6a45b015db6bd2c17a (patch) | |
tree | 78e0f4355daa08608db307c0bda2ee0127986bc3 /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 446d38c65f72fd5d242a64182b05683577f683d3 (diff) | |
download | llvm-9022d9c102a8c47616fbeb6a45b015db6bd2c17a.zip llvm-9022d9c102a8c47616fbeb6a45b015db6bd2c17a.tar.gz llvm-9022d9c102a8c47616fbeb6a45b015db6bd2c17a.tar.bz2 |
[xray] Apply default visibility to __xray_CustomEvent/__xray_TypedEvent
`__xray_customevent` and `__xray_typedevent` are built-in functions in
Clang. With -fxray-instrument, they are lowered to `__xray_CustomEvent`
(with 2 arguments) or `__xray_TypedEvent` (with 3 arguments).
xray patching is supported for shared objects, but they may contain
`__xray_customevent` and `__xray_typedevent` references that need to be
satisfied by default visibility definitions exported by the executable.
lld since df54f627fad789ccb11c72a9fddf116decbeba0e, like GNU ld, catches
the scenario at link time.
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions