[llvm-bugs] [Bug 28509] New: Add command-line option to choose the max nest level in asm macros
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 11 12:03:45 PDT 2016
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: unassignedbugs at nondot.org
Reporter: alt.j9-ez05t3x at cool.fr.nf
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160711/8a16582c/attachment.html>
More information about the llvm-bugs
mailing list