HomePhabricator

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

Authored by bollu on May 10 2017, 4:51 AM.

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

llvm-svn: 302638

Details

Committed
bolluMay 10 2017, 4:51 AM
Differential Revision
D33008: [Polly][GPUJIT] Disabled gcc's -Wpedantic for use of dlsym
Parents
rGa7fcc00d510f: [clang-tidy] Add new cert-dcl21-cpp check
Branches
Unknown
Tags
Unknown