summaryrefslogtreecommitdiff
path: root/src/pal/inc/rt
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2015-02-16 15:43:50 +0100
committerJan Vorlicek <janvorli@microsoft.com>2015-02-16 15:43:50 +0100
commitfb11bcafc8bae0924b51ed4483ed35d884852dc4 (patch)
treed3433a943bcf8e277cd2618be3e411e17a1db617 /src/pal/inc/rt
parent0e20a9e34ad2b861460c2772865653082ca06dfd (diff)
downloadcoreclr-fb11bcafc8bae0924b51ed4483ed35d884852dc4.tar.gz
coreclr-fb11bcafc8bae0924b51ed4483ed35d884852dc4.tar.bz2
coreclr-fb11bcafc8bae0924b51ed4483ed35d884852dc4.zip
Implement native stack unwinding for Linux
This change implements native stack unwinding using the libunwind on Linux. I have also fixed bunch of issues / details in the related code: 1) 0x in front of %p inside format string 2) Subtraction of -1 from dl_info.dli_sname 3) Added .cfi_xxxx annotation to the CallDescrWorkerInternal and the LEAF_ENTRY / LEAF_END macros. 4) Changed local labels in the CallDescrWorkerInternal to be prefixed by .L to see the CallDescrWorkerInternal in the stack trace 5) Changed moveOWord to use movdqu - it was being called with one of the parameters unaligned
Diffstat (limited to 'src/pal/inc/rt')
-rw-r--r--src/pal/inc/rt/palrt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pal/inc/rt/palrt.h b/src/pal/inc/rt/palrt.h
index 4aeb227eb9..c497947230 100644
--- a/src/pal/inc/rt/palrt.h
+++ b/src/pal/inc/rt/palrt.h
@@ -1705,6 +1705,8 @@ typedef LONG (WINAPI *PTOP_LEVEL_EXCEPTION_FILTER)(
);
typedef PTOP_LEVEL_EXCEPTION_FILTER LPTOP_LEVEL_EXCEPTION_FILTER;
+BOOL VirtualUnwind(CONTEXT *context, KNONVOLATILE_CONTEXT_POINTERS *contextPointers);
+
/******************* ntdef ************************************/
#ifndef ANYSIZE_ARRAY