Displaying 5 results from an estimated 5 matches for "machofil".
Did you mean:
machofile
2009 Jul 29
2
[LLVMdev] Question on llc output stream
In llc's GetOutputStream we have this:
raw_fd_ostream *FDOut = new raw_fd_ostream(OutputFilename.c_str(),
/*Binary=*/true, Force, error);
Why is Binary set true here? We don't know yet whether this is going to be an
AsmFile or a MachOFile.
Setting Binary=true causes the stream to be unbuffered. Is this what we want?
-Dave
2009 Jul 29
0
[LLVMdev] Question on llc output stream
...have this:
>
> raw_fd_ostream *FDOut = new raw_fd_ostream(OutputFilename.c_str(),
> /*Binary=*/true,
> Force, error);
>
> Why is Binary set true here? We don't know yet whether this is
> going to be an
> AsmFile or a MachOFile.
Looks like a bug. It looks like there are two copies of that code, one
for the
case where there's an explicit OutputFilename, and one where there
isn't one,
right below it. Only the second one sets the Binary flag properly.
>
> Setting Binary=true causes the stream to be unbuf...
2007 Nov 08
3
[LLVMdev] Newbie JITter
...ses.add(new TargetData(*target->getTargetData()));
Passes.add(createVerifierPass());
switch (target->addPassesToEmitFile(Passes, std::cout,
TargetMachine::AssemblyFile, false)) {
default:
assert(0 && "Invalid file model!");
return 1;
case FileModel::MachOFile:
case FileModel::ElfFile:
case FileModel::Error:
std::cerr << "target does not support generation of this file
type!\n";
return 1;
case FileModel::AsmFile:
break;
}
MachineCodeEmitter *MCE = 0;
if (target->addPassesToEmitFileFinish(Passes, MCE, fa...
2008 Jun 25
4
[LLVMdev] [PATCH] Mach-O Identify File Type
...ass and Universal Binary magics.
Note that this function will always returned dynamic library for
Universal Binaries (like the current implementation) because the
binary type is not include in the file header.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MachOFile.diff
Type: application/octet-stream
Size: 2859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080626/a6fa66b3/attachment.obj>
-------------- next part --------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name:...
2007 Nov 09
0
[LLVMdev] Newbie JITter
...tData()));
>
> Passes.add(createVerifierPass());
>
> switch (target->addPassesToEmitFile(Passes, std::cout,
> TargetMachine::AssemblyFile, false)) {
> default:
> assert(0 && "Invalid file model!");
> return 1;
> case FileModel::MachOFile:
> case FileModel::ElfFile:
> case FileModel::Error:
> std::cerr << "target does not support generation of this file
> type!\n";
> return 1;
> case FileModel::AsmFile:
> break;
> }
>
> MachineCodeEmitter *MCE = 0;
> if...