Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
4c951ee8
Kaydet (Commit)
4c951ee8
authored
Ara 09, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix mscx_filterCppException base+offset pointer calculations
Change-Id: I9fbe8d7eba181cbfcab704761e6feebd78120644
üst
a9585f34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
except.cxx
bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
+13
-12
No files found.
bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx
Dosyayı görüntüle @
4c951ee8
...
@@ -750,22 +750,23 @@ int mscx_filterCppException(
...
@@ -750,22 +750,23 @@ int mscx_filterCppException(
// [3] is the image base address which is added the 32-bit
// [3] is the image base address which is added the 32-bit
// rva_t fields in throwinfo to get actual 64-bit addresses
// rva_t fields in throwinfo to get actual 64-bit addresses
ULONG_PTR
base
=
pRecord
->
ExceptionInformation
[
3
];
void
*
types
=
DWORD
*
types
=
reinterpret_cast
<
DWORD
*>
(
(
void
*
)
(
pRecord
->
ExceptionInformation
[
3
]
+
base
((
RaiseInfo
*
)
pRecord
->
ExceptionInformation
[
2
])
->
_types
);
+
(
reinterpret_cast
<
RaiseInfo
*>
(
pRecord
->
ExceptionInformation
[
2
])
->
_types
));
if
(
types
!=
0
&&
*
(
DWORD
*
)
types
>
0
)
if
(
types
!=
nullptr
&&
types
[
0
]
!=
0
)
{
{
DWORD
pType
=
*
((
DWORD
*
)
types
+
1
);
DWORD
pType
=
types
[
1
];
if
(
pType
!=
0
&&
ExceptionType
*
et
((
ExceptionType
*
)(
pRecord
->
ExceptionInformation
[
3
]
+
pType
))
->
_pTypeInfo
!=
0
)
=
reinterpret_cast
<
ExceptionType
*>
(
base
+
pType
);
if
(
pType
!=
0
&&
et
->
_pTypeInfo
!=
0
)
{
{
OUString
aRTTIname
(
OUString
aRTTIname
(
OStringToOUString
(
OStringToOUString
(
reinterpret_cast
<
__type_info
*
>
(
(
reinterpret_cast
<
__type_info
*>
(
base
+
et
->
_pTypeInfo
)
((
ExceptionType
*
)(
pRecord
->
ExceptionInformation
[
3
]
+
pType
))
->
_pTypeInfo
)
->
_m_d_name
,
->
_m_d_name
)
,
RTL_TEXTENCODING_ASCII_US
)
);
RTL_TEXTENCODING_ASCII_US
)
);
OUString
aUNOname
(
toUNOname
(
aRTTIname
)
);
OUString
aUNOname
(
toUNOname
(
aRTTIname
)
);
typelib_TypeDescription
*
pExcTD
=
0
;
typelib_TypeDescription
*
pExcTD
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment