diff options
| author | Siddharth Bhat <siddu.druid@gmail.com> | 2017-05-10 11:51:44 +0000 |
|---|---|---|
| committer | Siddharth Bhat <siddu.druid@gmail.com> | 2017-05-10 11:51:44 +0000 |
| commit | 8ac5340a4ef7e6124d989fef5c31c60fcbd72a79 (patch) | |
| tree | 1bd24b147d519254fc6f7e4376c775aa3c4d862a /llvm | |
| parent | a7fcc00d510f670cf5b94ea581234adefb063461 (diff) | |
| download | bcm5719-llvm-8ac5340a4ef7e6124d989fef5c31c60fcbd72a79.tar.gz bcm5719-llvm-8ac5340a4ef7e6124d989fef5c31c60fcbd72a79.zip | |
[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
Diffstat (limited to 'llvm')
0 files changed, 0 insertions, 0 deletions

