projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d67d0c0
)
Fix windows build
author
Andrey Kvochko
<a.kvochko@samsung.com>
Tue, 25 Dec 2018 10:32:59 +0000
(13:32 +0300)
committer
Andrey Kvochko
<a.kvochko@samsung.com>
Tue, 25 Dec 2018 10:32:59 +0000
(13:32 +0300)
Commit migrated from https://github.com/dotnet/coreclr/commit/
44148502127d299c6a14def752b05012e8470d6f
src/coreclr/src/jit/unwind.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/jit/unwind.cpp
b/src/coreclr/src/jit/unwind.cpp
index
86ce331
..
96278bd
100644
(file)
--- a/
src/coreclr/src/jit/unwind.cpp
+++ b/
src/coreclr/src/jit/unwind.cpp
@@
-398,8
+398,12
@@
UNATIVE_OFFSET Compiler::unwindGetCurrentOffset(FuncInfoDsc* func)
}
else
{
+#if defined(_TARGET_AMD64_) || (defined(_TARGET_UNIX_) && (defined(_TARGET_ARMARCH_) || defined(_TARGET_X86_)))
assert(func->startLoc != nullptr);
offset = func->startLoc->GetFuncletPrologOffset(genEmitter);
+#else
+ offset = 0; // TODO ???
+#endif
}
return offset;