Displaying 2 results from an estimated 2 matches for "llvm_dylib_symbol_versioning".
2018 May 08
0
OpenCL runtimes and LLVM command line options
...is basically guaranteed to lead to crashes because of symbol clashes. I wonder if C++11 inline namespaces could be used for proper versioning. I admit I haven't given it too much thought.
>>
>
> Does enabling symbol versioning in LLVM fix this?
*goes to check cmake*
Oh, you mean LLVM_DYLIB_SYMBOL_VERSIONING? That sounds plausible, but
I've never tried it... why is that off by default?
Thanks,
Nicolai
>
> -Tom
>
>> Cheers,
>> Nicolai
>>
>> On 06.05.2018 13:05, Heinz Wiesinger via llvm-dev wrote:
>>> Hello everyone,
>>>
>>> A while ba...
2018 May 07
2
OpenCL runtimes and LLVM command line options
On 05/07/2018 12:28 AM, Nicolai Hähnle via llvm-dev wrote:
> We have a similar problem in Mesa's radeonsi driver. It would be great if command-line options could somehow be tied to an llvm::Context, for example.
>
> There is an even worse problem when *different versions* of LLVM are loaded into the same process. This is basically guaranteed to lead to crashes because of symbol