HomePhabricator

[GPUJIT] Disabled gcc's -Wpedantic for use of dlsym

Description

[GPUJIT] Disabled gcc's -Wpedantic for use of dlsym

GCC's ISO C standard does not strictly define the bahavior of converting
a void* pointer to a function pointer, but dlsym's POSIX standard
does.

The retrieval of function pointers through dlsym in this case
generates an unnecessary amount of warnings for every API function
assignment, bloating the output.

This patch removes GCC's -Wpedantic flag for retrieval and assignment
of these functions. This simplifies debugging the output of GPUJIT.

Differential Revision: https://reviews.llvm.org/D33008

Details

Committed
bolluMay 10 2017, 4:51 AM
Differential Revision
D33008: [Polly][GPUJIT] Disabled gcc's -Wpedantic for use of dlsym
Branches
Unknown
Tags
Unknown