search for: descvalue

Displaying 3 results from an estimated 3 matches for "descvalue".

2010 Jul 16
0
[LLVMdev] Win32 COFF Support - Patch 3
...MCSA_Global: > + getSymbolData(Symbol)->setExternal(true); > + break; > + > + default: > + dbg_unexpected("unsupported attribute " << Attribute); > + break; > + } > } > > void WinCOFFStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) { > @@ -102,15 +280,34 @@ void WinCOFFStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) { > } > > void WinCOFFStreamer::BeginCOFFSymbolDef(MCSymbol const *Symbol) { > + assert(CurSymbol == NULL); Please style asserts as: assert(Condition && "Explanation...
2010 Jul 14
2
[LLVMdev] Win32 COFF Support - Patch 3
On Sun, Jul 11, 2010 at 6:10 PM, Chris Lattner <clattner at apple.com> wrote: > This probably needs to be slightly tweaked to work with mainline.  I don't see anything objectionable, but I think Daniel needs to review this one. Updated patch to work with mainline. http://github.com/Bigcheese/llvm-mirror/commit/d19a4c82c18afc4830c09b70f02d162292231c94 - Michael Spencer
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...identifier in directive"); - - // Handle the identifier as the key symbol. - MCSymbol *Sym = CreateSymbol(Name); - - if (Lexer.isNot(AsmToken::Comma)) - return TokError("unexpected token in '.desc' directive"); - Lex(); - - SMLoc DescLoc = Lexer.getLoc(); - int64_t DescValue; - if (ParseAbsoluteExpression(DescValue)) - return true; - - if (Lexer.isNot(AsmToken::EndOfStatement)) - return TokError("unexpected token in '.desc' directive"); - - Lex(); - - // Set the n_desc field of this Symbol to this DescValue - Out.EmitSymbolDesc(Sym, DescV...