Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKonstantin Baladurin <k.baladurin@partner.samsung.com>2018-03-22 19:52:48 +0300
committerJan Kotas <jkotas@microsoft.com>2018-03-22 19:52:48 +0300
commit88a928a89beb93451a99d1fb9f1895c9f27e6df7 (patch)
treecd2cc9f27db180e746393c66807030fb3615c739 /src
parentd07f54d34a25049a646f03d911c3cdb79cac5482 (diff)
DwarfSimpleArrayTypeInfo: change type of Size to uint64_t (#5600)
It fixes lldb error in case of zero-length arrays: DW_TAG_member 'm_Data' refers to type 0x00000c70 which extends beyond the bounds of 0x00000c7c
Diffstat (limited to 'src')
-rw-r--r--src/Native/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.h b/src/Native/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.h
index 69385b53c..6ae937377 100644
--- a/src/Native/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.h
+++ b/src/Native/ObjWriter/debugInfo/dwarf/dwarfTypeBuilder.h
@@ -193,7 +193,7 @@ private:
class DwarfSimpleArrayTypeInfo : public DwarfInfo
{
public:
- DwarfSimpleArrayTypeInfo(uint32_t ArrayElementType, uint32_t Size) :
+ DwarfSimpleArrayTypeInfo(uint32_t ArrayElementType, uint64_t Size) :
ElementType(ArrayElementType),
Size(Size) {}
@@ -206,7 +206,7 @@ protected:
private:
uint32_t ElementType;
- uint32_t Size;
+ uint64_t Size;
};
class DwarfPointerTypeInfo : public DwarfInfo