search for: printlabel

Displaying 2 results from an estimated 2 matches for "printlabel".

Did you mean: pointlabel
2012 Aug 20
1
[PATCH] xfs: add new api xfs_admin
...iff --git a/daemon/xfs.c b/daemon/xfs.c index b331b9b..b32d256 100644 --- a/daemon/xfs.c +++ b/daemon/xfs.c @@ -460,3 +460,81 @@ error: if (out) free (out); return NULL; } + +char * +do_xfs_admin (const char *device, + int extunwritten, int imgfile, int v2log, + int printlabel, int projid32bit, int printuuid, + int lazycounter, const char *label, const char *uuid) +{ + int r; + char *out = NULL, *err = NULL; + const char *argv[MAX_ARGS]; + size_t i = 0; + + ADD_ARG (argv, i, "xfs_admin"); + + /* Optional arguments */ + if (!(optargs_bitmask...
2007 Aug 10
2
[LLVMdev] Extending AsmPrinter
...mInfo. Along the same lines, AsmWriterEmitter always dumps this exact code to each target in the generated printInstruction function: if (MI->getOpcode() == TargetInstrInfo::INLINEASM) { printInlineAsm(MI); return true; } else if (MI->getOpcode() == TargetInstrInfo::LABEL) { printLabel(MI); return true; } This could just as well go in the AsmWriter base class and TableGen wouldn't have to worry about it. Thoughts? -Dave