https://llvm.org/bugs/show_bug.cgi?id=28509

            Bug ID: 28509
           Summary: Add command-line option to choose the max nest level
                    in asm macros
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedb...@nondot.org
          Reporter: alt.j9-ez05...@cool.fr.nf
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

Created attachment 16722
  --> https://llvm.org/bugs/attachment.cgi?id=16722&action=edit
Broken patch

I hit the following limit twice: "macros cannot be nested more than 20 levels
deep" (one time with a tail-recursive macro and another with generated code).
This refers to assembly macros, in lib/MC/MCParser/AsmParser.cpp .

I would be very nice to have a command-line option to be able to increase this
limit in those (uncommon) cases.

I tried to make a patch (attached), but it is not working: the command line
option is not used (and I get the "argument unused during compilation"
warning).
I am unfamiliar with LLVM code-base so I unfortunately do not know how to fix
the issue with my patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to