mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
XFAIL the test I added with vg_leak, apparently it is the first and only llc
-filetype=obj test, and -filetype=obj leaks a few objects. Added a FIXME, we need to sort out the ownership model for the various MC objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103769 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0ebf356ddf
commit
bd616b69f7
@ -140,6 +140,8 @@ bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
|
||||
case CGFT_ObjectFile: {
|
||||
// Create the code emitter for the target if it exists. If not, .o file
|
||||
// emission fails.
|
||||
//
|
||||
// FIXME: These are currently leaked.
|
||||
MCCodeEmitter *MCE = getTarget().createCodeEmitter(*this, *Context);
|
||||
TargetAsmBackend *TAB = getTarget().createAsmBackend(TargetTriple);
|
||||
if (MCE == 0 || TAB == 0)
|
||||
|
@ -1,4 +1,5 @@
|
||||
; RUN: llc -filetype=obj -o - < %s
|
||||
; XFAIL: vg_leak
|
||||
|
||||
; ModuleID = 't.c'
|
||||
target triple = "x86_64-apple-darwin10.0.0"
|
||||
|
Loading…
Reference in New Issue
Block a user