[LLVMbugs] [Bug 18833] New: ARMAsmParser fails to recognize .req directive alias name in capital letters
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Feb 13 22:43:33 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18833
Bug ID: 18833
Summary: ARMAsmParser fails to recognize .req directive alias
name in capital letters
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
Assignee: unassignedbugs at nondot.org
Reporter: manjian2006 at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
OUTPUT_BUF .req r2
will store "output_buf" in RegisterReqs.Because in AsmParser::parseStatement
=> std::string OpcodeStr = IDVal.lower();
ParseInstructionInfo IInfo(Info.AsmRewrites);
bool HadError = getTargetParser().ParseInstruction(IInfo, OpcodeStr, IDLoc,
Info.ParsedOperands);
The Name variable is treated as opcode string,and get lowered before
ParseInstruction.
And so unreg directive will fail who is expecting the original name(not getting
lowered).
--
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/20140214/18445c49/attachment.html>
More information about the llvm-bugs
mailing list