summaryrefslogtreecommitdiff
path: root/starmath/Library_smd.mk
diff options
context:
space:
mode:
authorMark Williams <mark@dimm.de>2014-12-25 19:12:19 +0100
committerDavid Ostrovsky <david@ostrovsky.org>2014-12-25 22:08:36 +0000
commite1043eca4b4c64c3c23affa97aeaeb09fb1f7cfb (patch)
tree4c34b4fd39e852af9261206102a1740e7dcf4376 /starmath/Library_smd.mk
parentc31015130e72e88a5108fe8f7fa7f832ebbc06ea (diff)
Uno bridge msvc-x86_64: Fix EH memory and addressing issues
Rewrite of 32-Bit-Code to work under 64 Bit: To use the 32 Bit offset values in the ExceptionType we have to allocate a single allocation block and use it for all code and data. All offsets inside this area are guaranteed to be in 32 bit address range. So we have to calc total memory allocation size for D-tor, C-Tors, ExceptionType and type_info. ExceptionType is allocated via placement new operator to locate everything inside our mem block. There is one caveat: Struct type_info is kept in a map and was referenced from class ExceptionType. Therefore type_info now is also member of ExceptionType and can be referenced via 32 bit offset. Change-Id: I6b524e36975a66fb64ca0cfb014c207053acec90 Reviewed-on: https://gerrit.libreoffice.org/13653 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
Diffstat (limited to 'starmath/Library_smd.mk')
0 files changed, 0 insertions, 0 deletions