Closed imciner2 closed 3 years ago
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Totals | |
---|---|
Change from base Build 1065854028: | 0.0% |
Covered Lines: | 87 |
Relevant Lines: | 87 |
This adds the symbol visibility information to the main API functions that QDLDL exports so that they are exposed inside shared libraries on all platforms. This is mainly an issue on Windows (which defaults to exporting no symbols in a shared library), but could also be a problem if someone tries to use the flag
-fvisibility=hidden
on other platforms.Before this change (compiled with
-fvisibility=hidden
),readelf -Ws out/libqdldl.so
shows:After this change (compiled with
-fvisibility=hidden
still),readelf -Ws out/libqdldl.so
shows:I am marking as a draft since I still want to do some testing on platforms other than Linux.