summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>2020-05-08 13:40:06 +0200
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>2020-05-13 06:18:22 +0900
commitd6039664c276dcf884fd619f07c595c5b1277902 (patch)
treead5a422ae86b3ba947600534183138fae026bc96
parentbfe0665bc15f6c0574051eb771b23e44b67431a2 (diff)
downloadcoreclr-accepted/tizen/unified/20200529.124257.tar.gz
coreclr-accepted/tizen/unified/20200529.124257.tar.bz2
coreclr-accepted/tizen/unified/20200529.124257.zip
-rw-r--r--src/debug/createdump/dnetmemoryenumlib.cpp6
-rw-r--r--src/debug/createdump/dnetmemoryenumlib.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/debug/createdump/dnetmemoryenumlib.cpp b/src/debug/createdump/dnetmemoryenumlib.cpp
index 07e48e6787..599d075735 100644
--- a/src/debug/createdump/dnetmemoryenumlib.cpp
+++ b/src/debug/createdump/dnetmemoryenumlib.cpp
@@ -37,20 +37,20 @@ get_regions(CrashInfo *crashInfo)
}
-extern "C" int
+extern "C" DLLEXPORT int
DotNetMemoryEnumInit()
{
int exitCode = PAL_InitializeDLL();
return exitCode;
}
-extern "C" void
+extern "C" DLLEXPORT void
DotNetMemoryEnumFinish()
{
PAL_TerminateEx(0);
}
-extern "C" int
+extern "C" DLLEXPORT int
DotNetMemoryEnumRegions(pid_t pid, elf_prstatus **statuses, int statuses_count,
DUMP_TYPE minidump_type, SimpleMemoryRegion **regions)
{
diff --git a/src/debug/createdump/dnetmemoryenumlib.h b/src/debug/createdump/dnetmemoryenumlib.h
index 76e65eea4b..2960fdc66f 100644
--- a/src/debug/createdump/dnetmemoryenumlib.h
+++ b/src/debug/createdump/dnetmemoryenumlib.h
@@ -38,9 +38,9 @@ enum REG_ERR {
REGERR_ENUMERATION_ERROR = -3
};
-extern "C" int DotNetMemoryEnumRegions(pid_t pid, elf_prstatus **statuses, int statuses_count,
+extern "C" DLLEXPORT int DotNetMemoryEnumRegions(pid_t pid, elf_prstatus **statuses, int statuses_count,
DUMP_TYPE minidump_type, SimpleMemoryRegion **regions);
-extern "C" int DotNetMemoryEnumInit();
-extern "C" void DotNetMemoryEnumFinish();
+extern "C" DLLEXPORT int DotNetMemoryEnumInit();
+extern "C" DLLEXPORT void DotNetMemoryEnumFinish();
#endif