path: root/generateversionscript.awk
diff options
authorJan Vorlicek <>2015-07-15 23:08:09 +0200
committerJan Vorlicek <>2015-07-16 21:47:36 +0200
commit441a97709757ec1b6edcaadb733941e64af8fb60 (patch)
tree201d0ac6ee252f936ec6d3df1bec6d8566694b58 /generateversionscript.awk
parentbff51f77734b6eca0cf31d823687c167fcfc7d57 (diff)
Extend the Unix hosting API
This change modifies the Unix hosting API so that the hosting app can create as many managed delegates as it needs and execute them as many times it wants. The new API contains separate functions to initialize and shutdown CoreCLR and a function to create a delegate. The current ExecuteAssembly function behavior stays unmodified for now to ensure that dnx that uses that API and that pulls the binary libcoreclr is not broken. After the dnx is updated to use the new coreclr_create_delegate API, I'll remove the ExecuteAssembly. Also done: 1) Added support for comments and skipping empty lines in the mscorwks_unixexports.src. 2) Restructured the mscorwks_unixexports.src 3) Added coreclr_execute_assembly to the unixinterface.cpp / exports 4) Modified coreruncommon.cpp to use the new hosting API
Diffstat (limited to 'generateversionscript.awk')
1 files changed, 6 insertions, 1 deletions
diff --git a/generateversionscript.awk b/generateversionscript.awk
index 2aa1f4f0a2..d1c294be58 100644
--- a/generateversionscript.awk
+++ b/generateversionscript.awk
@@ -6,7 +6,12 @@ BEGIN {
# Remove the CR character in case the sources are mapped from
# a Windows share and contain CRLF line endings
gsub(/\r/,"", $0);
- print " " $0 ";";
+ # Skip empty lines and comment lines starting with semicolon
+ if (NF && !match($0, /^[:space:]*;/))
+ {
+ print " " $0 ";";
+ }
print " local: *;"