void setSize(unsigned size) { Size = size; }
/// Conatined data objects.
+ // FIXME: This vector is leaked because sections are allocated with a
+ // BumpPtrAllocator.
std::vector<const GlobalVariable *>Items;
/// Check section type.
; RUN: llc < %s -march=pic16 | FileCheck %s
+; XFAIL: vg_leak
target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8-f32:32:32"
target triple = "pic16-"
; RUN: llc -march=pic16 < %s
; PR5558
+; XFAIL: vg_leak
define i64 @_strtoll_r(i16 %base) nounwind {
entry:
; RUN: llc < %s -march=pic16 | grep "extern" | grep "@.lib.unordered.f32" | count 3
+; XFAIL: vg_leak
@pc = global i8* inttoptr (i64 160 to i8*), align 1 ; <i8**> [#uses=2]
@aa = common global i16 0, align 1 ; <i16*> [#uses=0]
; RUN: llc < %s -march=pic16 | FileCheck %s
+; XFAIL: vg_leak
@G1 = common global i16 0, section "usersection", align 1
; CHECK: usersection UDATA
; RUN: llc < %s -march=pic16 | FileCheck %s
+; XFAIL: vg_leak
@G1 = global i32 4712, section "Address=412"
; CHECK: @G1.412..user_section.# IDATA 412
; RUN: llc < %s -march=pic16
+; XFAIL: vg_leak
@main.auto.c = internal global i8 0 ; <i8*> [#uses=1]