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
03736d67
Kaydet (Commit)
03736d67
authored
Şub 24, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix MI RTTI (as needed by -fsanitize=vptr)
Change-Id: Idbde54c641531b34f397d07c5f929870c3a82371
üst
cdb214c3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
rtti.cxx
bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
+25
-2
No files found.
bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
Dosyayı görüntüle @
03736d67
...
@@ -162,10 +162,33 @@ std::type_info * RTTI::getRTTI(typelib_TypeDescription const & pTypeDescr)
...
@@ -162,10 +162,33 @@ std::type_info * RTTI::getRTTI(typelib_TypeDescription const & pTypeDescr)
static_cast
<
__cxxabiv1
::
__class_type_info
*>
(
static_cast
<
__cxxabiv1
::
__class_type_info
*>
(
bases
[
0
]));
bases
[
0
]));
break
;
break
;
case
2
:
default
:
//TODO
{
char
*
pad
=
new
char
[
sizeof
(
__cxxabiv1
::
__vmi_class_type_info
)
+
((
itd
.
nBaseTypes
-
1
)
*
sizeof
(
__cxxabiv1
::
__base_class_type_info
))];
__cxxabiv1
::
__vmi_class_type_info
*
info
=
new
(
pad
)
__cxxabiv1
::
__vmi_class_type_info
(
strdup
(
rttiName
),
__cxxabiv1
::
__vmi_class_type_info
::
__flags_unknown_mask
);
info
->
__base_count
=
itd
.
nBaseTypes
;
for
(
sal_Int32
i
=
0
;
i
!=
itd
.
nBaseTypes
;
++
i
)
{
info
->
__base_info
[
i
].
__base_type
=
static_cast
<
__cxxabiv1
::
__class_type_info
*>
(
bases
[
i
]);
info
->
__base_info
[
i
].
__offset_flags
=
(
__cxxabiv1
::
__base_class_type_info
::
__public_mask
|
((
8
*
i
)
<<
__cxxabiv1
::
__base_class_type_info
::
__offset_shift
));
}
rtti
=
info
;
break
;
break
;
}
}
}
break
;
break
;
}
}
default
:
default
:
...
...
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