From b89e2305a2c953272c997242d01b66b1bb1e661e Mon Sep 17 00:00:00 2001 From: Mike McLaughlin Date: Thu, 12 Jul 2018 23:45:39 -0700 Subject: Add prefix to DAC's PAL exports for alpine (#18873) Added some cmake logic to create assembly include mapping files. One that maps the prefixed name (DAC_foo) to the actual name (foo) which is included in the DAC module and another that maps the actual name to the prefixed name that is included in the SOS, DBI and createdump modules. The data exports like IID_IUnknown are not prefixed and don't need to be (immutable static data). There were some C++ exports functions exported with their decorated names in the CatchHardwareExceptionHolder and NativeExceptionHolderBase classes. Created PAL_* style export functions that implements the code. Fix lldb plugin cmake file to use LLDB_H/LLDB_LIB env vars to build it. --- generateexportedsymbols.awk | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'generateexportedsymbols.awk') diff --git a/generateexportedsymbols.awk b/generateexportedsymbols.awk index 1d9b200d23..120897fa37 100644 --- a/generateexportedsymbols.awk +++ b/generateexportedsymbols.awk @@ -1,11 +1,12 @@ { - # Remove the CR character in case the sources are mapped from - # a Windows share and contain CRLF line endings - gsub(/\r/,"", $0); + # Remove the CR character in case the sources are mapped from + # a Windows share and contain CRLF line endings + gsub(/\r/,"", $0); - # Skip empty lines and comment lines starting with semicolon - if (NF && !match($0, /^[:space:]*;/)) - { - print "_" $0; - } + # Skip empty lines and comment lines starting with semicolon + if (NF && !match($0, /^[:space:]*;/)) + { + gsub(/^#/,"", $0); + print "_" $0; + } } -- cgit v1.2.3