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
5dcd5383
Kaydet (Commit)
5dcd5383
authored
Ara 23, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More informative logging
Change-Id: I71b04086ae0418f0a6c988fc71c1e5fee6eed690
üst
792c20bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
15 deletions
+16
-15
cpp2uno-arm.cxx
bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx
+15
-10
except.cxx
bridges/source/cpp_uno/gcc3_ios_arm/except.cxx
+1
-5
No files found.
bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno-arm.cxx
Dosyayı görüntüle @
5dcd5383
...
...
@@ -467,8 +467,11 @@ extern "C" sal_Int64 cpp_vtable_call( long *pFunctionAndOffset,
namespace
{
unsigned
char
*
codeSnippet
(
sal_Int32
functionIndex
,
sal_Int32
vtableOffset
,
bool
bHasHiddenParam
)
unsigned
char
*
codeSnippet
(
const
typelib_InterfaceTypeDescription
*
type
,
const
typelib_TypeDescription
*
member
,
sal_Int32
functionIndex
,
sal_Int32
vtableOffset
,
bool
bHasHiddenParam
)
{
assert
(
functionIndex
<
nFunIndexes
);
if
(
!
(
functionIndex
<
nFunIndexes
))
...
...
@@ -484,7 +487,7 @@ namespace
int
index
=
functionIndex
*
nVtableOffsets
*
2
+
vtableOffset
*
2
+
bHasHiddenParam
;
unsigned
char
*
result
=
((
unsigned
char
*
)
&
codeSnippets
)
+
codeSnippets
[
index
];
SAL_INFO
(
"bridges.ios"
,
"codeSnippet: ["
<<
functionIndex
<<
","
<<
vtableOffset
<<
","
<<
(
int
)
bHasHiddenParam
<<
"]="
<<
(
void
*
)
result
<<
" ("
<<
std
::
hex
<<
((
int
*
)
result
)[
0
]
<<
","
<<
((
int
*
)
result
)[
1
]
<<
","
<<
((
int
*
)
result
)[
2
]
<<
","
<<
((
int
*
)
result
)[
3
]
<<
")"
);
SAL_INFO
(
"bridges.ios"
,
"codeSnippet
("
<<
OUString
(
type
->
aBase
.
pTypeName
)
<<
"::"
<<
OUString
(
member
->
pTypeName
)
<<
")
: ["
<<
functionIndex
<<
","
<<
vtableOffset
<<
","
<<
(
int
)
bHasHiddenParam
<<
"]="
<<
(
void
*
)
result
<<
" ("
<<
std
::
hex
<<
((
int
*
)
result
)[
0
]
<<
","
<<
((
int
*
)
result
)[
1
]
<<
","
<<
((
int
*
)
result
)[
2
]
<<
","
<<
((
int
*
)
result
)[
3
]
<<
")"
);
return
result
;
}
...
...
@@ -534,15 +537,16 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
reinterpret_cast
<
typelib_InterfaceAttributeTypeDescription
*>
(
member
);
// Getter:
(
s
++
)
->
fn
=
codeSnippet
(
functionOffset
++
,
vtableOffset
,
arm
::
return_in_hidden_param
(
pAttrTD
->
pAttributeTypeRef
));
(
s
++
)
->
fn
=
codeSnippet
(
type
,
member
,
functionOffset
++
,
vtableOffset
,
arm
::
return_in_hidden_param
(
pAttrTD
->
pAttributeTypeRef
));
// Setter:
if
(
!
pAttrTD
->
bReadOnly
)
{
(
s
++
)
->
fn
=
codeSnippet
(
functionOffset
++
,
vtableOffset
,
false
);
(
s
++
)
->
fn
=
codeSnippet
(
type
,
member
,
functionOffset
++
,
vtableOffset
,
false
);
}
break
;
}
...
...
@@ -552,8 +556,9 @@ unsigned char * bridges::cpp_uno::shared::VtableFactory::addLocalFunctions(
reinterpret_cast
<
typelib_InterfaceMethodTypeDescription
*
>
(
member
);
(
s
++
)
->
fn
=
codeSnippet
(
functionOffset
++
,
vtableOffset
,
arm
::
return_in_hidden_param
(
pMethodTD
->
pReturnTypeRef
));
(
s
++
)
->
fn
=
codeSnippet
(
type
,
member
,
functionOffset
++
,
vtableOffset
,
arm
::
return_in_hidden_param
(
pMethodTD
->
pReturnTypeRef
));
break
;
}
default
:
...
...
bridges/source/cpp_uno/gcc3_ios_arm/except.cxx
Dosyayı görüntüle @
5dcd5383
...
...
@@ -119,8 +119,6 @@ void dummy_can_throw_anything( char const * )
static
OUString
toUNOname
(
char
const
*
p
)
SAL_THROW
(())
{
char
const
*
start
=
p
;
// example: N3com3sun4star4lang24IllegalArgumentExceptionE
OUStringBuffer
buf
(
64
);
...
...
@@ -144,8 +142,6 @@ static OUString toUNOname( char const * p ) SAL_THROW(())
OUString
result
(
buf
.
makeStringAndClear
()
);
SAL_INFO
(
"bridges.ios"
,
"toUNOname("
<<
start
<<
"): "
<<
result
);
return
result
;
}
...
...
@@ -207,11 +203,11 @@ std::type_info * RTTI::getRTTI( typelib_CompoundTypeDescription *pTypeDescr ) SA
buf
.
append
(
'E'
);
OString
symName
(
buf
.
makeStringAndClear
()
);
SAL_INFO
(
"bridges.ios"
,
"getRTTI: calling dlsym() for type_info for "
<<
unoName
);
rtti
=
(
std
::
type_info
*
)
dlsym
(
m_hApp
,
symName
.
getStr
()
);
if
(
rtti
)
{
SAL_INFO
(
"bridges.ios"
,
"getRTTI: dlsym() found type_info for "
<<
unoName
);
std
::
pair
<
t_rtti_map
::
iterator
,
bool
>
insertion
(
m_rttis
.
insert
(
t_rtti_map
::
value_type
(
unoName
,
rtti
)
)
);
SAL_WARN_IF
(
!
insertion
.
second
,
...
...
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