diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2015-07-15 23:08:09 +0200 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2015-07-16 21:47:36 +0200 |
commit | 441a97709757ec1b6edcaadb733941e64af8fb60 (patch) | |
tree | 201d0ac6ee252f936ec6d3df1bec6d8566694b58 /generateexportedsymbols.awk | |
parent | bff51f77734b6eca0cf31d823687c167fcfc7d57 (diff) | |
download | coreclr-441a97709757ec1b6edcaadb733941e64af8fb60.tar.gz coreclr-441a97709757ec1b6edcaadb733941e64af8fb60.tar.bz2 coreclr-441a97709757ec1b6edcaadb733941e64af8fb60.zip |
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 'generateexportedsymbols.awk')
-rw-r--r-- | generateexportedsymbols.awk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/generateexportedsymbols.awk b/generateexportedsymbols.awk index 19312c381e..1d9b200d23 100644 --- a/generateexportedsymbols.awk +++ b/generateexportedsymbols.awk @@ -2,5 +2,10 @@ # 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; + } } |