summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>2020-05-08 11:40:06 (GMT)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>2020-05-12 21:18:22 (GMT)
commitd6039664c276dcf884fd619f07c595c5b1277902 (patch)
treead5a422ae86b3ba947600534183138fae026bc96 /src
parentbfe0665bc15f6c0574051eb771b23e44b67431a2 (diff)
downloadcoreclr-d6039664c276dcf884fd619f07c595c5b1277902.zip
coreclr-d6039664c276dcf884fd619f07c595c5b1277902.tar.gz
coreclr-d6039664c276dcf884fd619f07c595c5b1277902.tar.bz2
Diffstat (limited to 'src')
-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 07e48e6..599d075 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 76e65ee..2960fdc 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