summaryrefslogtreecommitdiffstats
path: root/Source/bindexplib.cxx
diff options
context:
space:
mode:
authorYury Zhuravlev <stalkerg@gmail.com>2016-06-30 14:19:00 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-05 19:19:56 (GMT)
commitf8d4e3d7f822a506c7ed7152ea84fb0f5953ea5b (patch)
treef415f95ac1487f1a92536f0238ccdb30a6e518e3 /Source/bindexplib.cxx
parentb1883bc8b7bd4211037bcc181edffdcce646f43a (diff)
downloadCMake-f8d4e3d7f822a506c7ed7152ea84fb0f5953ea5b.zip
CMake-f8d4e3d7f822a506c7ed7152ea84fb0f5953ea5b.tar.gz
CMake-f8d4e3d7f822a506c7ed7152ea84fb0f5953ea5b.tar.bz2
bindexplib: Export symbols from objects even with explicit markup
Drop our `HaveExportedObjects` check before dumping exports for an object file. It is possible for only a subset of needed symbols to have explicit markup, and re-exporting the marked symbols does not hurt. This leaves no callers of `HaveExportedObjects`, but leave the method in place anyway because it may be useful in the future. Fixes #16161.
Diffstat (limited to 'Source/bindexplib.cxx')
-rw-r--r--Source/bindexplib.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/bindexplib.cxx b/Source/bindexplib.cxx
index b179f83..181cb77 100644
--- a/Source/bindexplib.cxx
+++ b/Source/bindexplib.cxx
@@ -244,9 +244,7 @@ public:
*----------------------------------------------------------------------
*/
void DumpObjFile() {
- if(!HaveExportedObjects()) {
- this->DumpExternalsObjects();
- }
+ this->DumpExternalsObjects();
}
/*