diff options
author | Lang Hames <lhames@gmail.com> | 2023-12-04 14:37:49 -0800 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2023-12-04 18:30:33 -0800 |
commit | 4288fb8c26447280b9e8ddb22160ebbfc082a815 (patch) | |
tree | 574033425b01d1080847c20c89ac41af9ccb41e3 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 725a04066a210fdd812a56c3a6256cc97c0aaf4d (diff) | |
download | llvm-4288fb8c26447280b9e8ddb22160ebbfc082a815.zip llvm-4288fb8c26447280b9e8ddb22160ebbfc082a815.tar.gz llvm-4288fb8c26447280b9e8ddb22160ebbfc082a815.tar.bz2 |
[ORC][MachO] Fix JITDylib header-addr tracking in MachOPlatform.
HeaderAddr shouldn't be a member variable of MachOPlatformPlugin: there's only
one plugin instance shared between all JITDylibs, so the shared HeaderAddr will
be overwritten in an unpredictable and unsafe way. We haven't seen any issues
due to this yet, but it triggered failures during testing of an upcoming
llvm-jitlink patch (e.g. ORC-RT test Darwin/x86-64/jit-re-dlopen-trivial.S).
This patch pre-fixes the issue in advance of the llvm-jitlink patch landing.
This patch also removes some stale debugging output in MachOPlatform.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions