summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorchunseoklee <chunseoklee@naver.com>2017-06-02 01:51:31 +0900
committerJan Vorlicek <janvorli@microsoft.com>2017-06-01 18:51:31 +0200
commitdde63bc1aa39aabae77fb89aad583483965c523e (patch)
tree280f184bcbcc686137c039e6df87f4cd6ac71c87 /src
parentf68e0e85b7f3caee90481857b67f418d68f3361e (diff)
downloadcoreclr-dde63bc1aa39aabae77fb89aad583483965c523e.tar.gz
coreclr-dde63bc1aa39aabae77fb89aad583483965c523e.tar.bz2
coreclr-dde63bc1aa39aabae77fb89aad583483965c523e.zip
gdbjit symbols exported (#11739)
* multiple export files as input for generate_exports_file Now, generate_exports_file is able to process multiple input arguments. This feature is useful when you want to export additional symbols depending on compile time dependannt feature(-D option.) * export file for gdbjit added src/dlls/mscoree/gdbjit_unixexports.src file added To enable gdbjit feature, libcoreclr.so should have __jit_xxx symbols. Current tizen build system removes .symtab section during rpm debuginfo build. This patch moves __jit_xx symbols into .dynsym section.
Diffstat (limited to 'src')
-rw-r--r--src/dlls/mscoree/CMakeLists.txt5
-rw-r--r--src/dlls/mscoree/gdbjit_unixexports.src3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/dlls/mscoree/CMakeLists.txt b/src/dlls/mscoree/CMakeLists.txt
index b9c129db5e..8fc3ebfb41 100644
--- a/src/dlls/mscoree/CMakeLists.txt
+++ b/src/dlls/mscoree/CMakeLists.txt
@@ -22,6 +22,11 @@ else()
set (DEF_SOURCES
mscorwks_unixexports.src
)
+if(FEATURE_GDBJIT)
+ list(APPEND DEF_SOURCES
+ gdbjit_unixexports.src
+ )
+endif(FEATURE_GDBJIT)
endif(WIN32)
convert_to_absolute_path(DEF_SOURCES ${DEF_SOURCES})
diff --git a/src/dlls/mscoree/gdbjit_unixexports.src b/src/dlls/mscoree/gdbjit_unixexports.src
new file mode 100644
index 0000000000..b820aebf9b
--- /dev/null
+++ b/src/dlls/mscoree/gdbjit_unixexports.src
@@ -0,0 +1,3 @@
+; exported for GDBJIT
+__jit_debug_register_code
+__jit_debug_descriptor \ No newline at end of file