aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
diff options
context:
space:
mode:
authorMichael Klemm <michael.klemm@amd.com>2024-11-28 17:28:56 +0100
committerGitHub <noreply@github.com>2024-11-28 17:28:56 +0100
commit261a4026e8a367eda229879838709b92abaf445c (patch)
tree3e58f398669c2ad45f0030ae9ac64d6841ac350d /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
parentb207a17ea07df4cbcae5509dee3e8e1d09a485df (diff)
downloadllvm-261a4026e8a367eda229879838709b92abaf445c.zip
llvm-261a4026e8a367eda229879838709b92abaf445c.tar.gz
llvm-261a4026e8a367eda229879838709b92abaf445c.tar.bz2
[Flang][OpenMP] Use internal linkage for OpenMP code-gen'ed helper functions (#117911)
When compiling WORKSHARE construct in different compilation units, a linker error happened, when two equal WORKSHARE constructs with a copy operation have been compiled: ``` /usr/bin/ld: module2.o: in function `_workshare_copy_f64': FIRModule:(.text+0x0): multiple definition of `_workshare_copy_f64'; module1.o:FIRModule:(.text+0x0): first defined here ``` Reason is that the generate copy function has the wrong linkage: ``` 0000000000000000 T _workshare_copy_f64 ``` while it should be ``` 0000000000000000 t _workshare_copy_f64 ```
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
0 files changed, 0 insertions, 0 deletions