XFAIL some PIC16 tests when running under valgrind-leaks. I don't expect these
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 30 Mar 2010 14:34:13 +0000 (14:34 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 30 Mar 2010 14:34:13 +0000 (14:34 +0000)
to be fixed any time soon.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99888 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PIC16/PIC16Section.h
test/CodeGen/PIC16/2009-07-17-PR4566-pic16.ll
test/CodeGen/PIC16/2009-11-20-NewNode.ll
test/CodeGen/PIC16/C16-15.ll
test/CodeGen/PIC16/global-in-user-section.ll
test/CodeGen/PIC16/globals.ll
test/CodeGen/PIC16/sext.ll

index 350afb6e91d3fad9820d9fa0e03ca655476a9483..9039ca781a309bdabfde2c62257ca72134f54b12 100644 (file)
@@ -63,6 +63,8 @@ namespace llvm {
     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. 
index b508026c21f6ee86f56ebc544e996f107d7836c9..5b5e11f2df0ca6f64a997c14c132c802e55ba32c 100644 (file)
@@ -1,4 +1,5 @@
 ; 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-"
index d68f0f41c4a5747e7ab3d074044bccbcfa7ab118..f9d66ca63471af107fc28889b091e9e2d6d56861 100644 (file)
@@ -1,5 +1,6 @@
 ; RUN: llc -march=pic16 < %s
 ; PR5558
+; XFAIL: vg_leak
 
 define i64 @_strtoll_r(i16 %base) nounwind {
 entry:
index 5ca2d4a9bd639407eedfdb5f6ebb7d7aa615e4ea..020b0dd6743e63ad9e8944b9bd4794119ba0a47c 100644 (file)
@@ -1,4 +1,5 @@
 ; 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]
index 74c9d9d256cde054a9f54b91e4f3eae921f268b0..6cdb64864ad5135dd6a7d489f60cd94c449c21dc 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: llc < %s -march=pic16 | FileCheck %s
+; XFAIL: vg_leak
 
 @G1 = common global i16 0, section "usersection", align 1 
 ; CHECK: usersection UDATA
index 432c291078d31734a5253fa19bef9a08c75dc1dd..3ee2e25265d36ba382859de5d5e4a7429fda6743 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: llc < %s -march=pic16 | FileCheck %s
+; XFAIL: vg_leak
 
 @G1 = global i32 4712, section "Address=412"
 ; CHECK: @G1.412..user_section.#       IDATA   412
index b49925ffb7c34d0feda5ea61e599cb0f7f055bcf..e51a54287ce642b2a7110aa5d377e53c42185aa6 100644 (file)
@@ -1,4 +1,5 @@
 ; RUN: llc < %s -march=pic16
+; XFAIL: vg_leak
 
 @main.auto.c = internal global i8 0            ; <i8*> [#uses=1]