Displaying 2 results from an estimated 2 matches for "parsedirectiveset".
2012 May 09
1
[LLVMdev] Directive parsing for AsmParser
...th assembly directives. Mips assembler has following syntax for .set directive
.set reorder
or
.set noreorder
which allow/disallow assembler to change the order of instructions in the block that follows. As the implemented AsmParser requires .set directive to have the following syntax:
/// ParseDirectiveSet:
/// ::= .set identifier ',' expression
I am getting an error reported when '.set reoeder/noreorder' is met in the code. After some investigation it seems reasonable for me to move the code which handles target specific directive parsing from the end to the beginning of the block...
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...if (IDVal == ".thread_init_func")
- return ParseDirectiveSectionSwitch("__DATA", "__thread_init",
- MCSectionMachO::S_THREAD_LOCAL_INIT_FUNCTION_POINTERS);
-
+
// Assembler features
if (IDVal == ".set")
return ParseDirectiveSet();
@@ -757,37 +604,22 @@ bool AsmParser::ParseStatement() {
if (IDVal == ".weak_reference")
return ParseDirectiveSymbolAttribute(MCSA_WeakReference);
- if (IDVal == ".comm")
- return ParseDirectiveComm(/*IsLocal=*/false);
- if (IDVal == ".lcomm"...