[PATCH] [mips] [IAS] Fix using .cpsetup with local labels (PR22518).

Toma Tabacu toma.tabacu at imgtec.com
Tue Feb 17 03:48:56 PST 2015


Hi dsanders,

Parse for an MCExpr instead of an Identifier and use the symbol for relocations, not just the symbol's name.

This fixes errors when using local labels in .cpsetup (PR22518).

http://reviews.llvm.org/D7697

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
  test/MC/Mips/cpsetup-bad.s
  test/MC/Mips/cpsetup.s

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7697.20076.patch
Type: text/x-patch
Size: 4356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150217/cde9d8a6/attachment.bin>


More information about the llvm-commits mailing list