Skip to content

Commit 2dbcd43

Browse files
committed
Don't export any data symbols
1 parent 6ed2c9b commit 2dbcd43

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

DefFileGenerator/bindexplib.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,9 @@ class DumpSymbols
311311
symbol.find("$iexit_thunk") == std::string::npos &&
312312
symbol.find("$exit_thunk") == std::string::npos)) {
313313
if (!pSymbolTable->Type && (SectChar & IMAGE_SCN_MEM_WRITE)) {
314+
// WPILib. Don't export any data symbols. We don't want to have to worry about dllimport
314315
// Read only (i.e. constants) must be excluded
315-
this->DataSymbols.insert(symbol);
316+
//this->DataSymbols.insert(symbol);
316317
} else {
317318
if (pSymbolTable->Type || !(SectChar & IMAGE_SCN_MEM_READ) ||
318319
(SectChar & IMAGE_SCN_MEM_EXECUTE) ||
-512 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)