[PATCH] AsmParser: Extend the API to make the mappings from the numbers in the source to unnamed global values accessible to the library users.

Alex Lorenz arphaman at gmail.com
Mon Jun 22 17:07:35 PDT 2015


Update the patch with Duncan's fixes.

I also decided to use std::move to move the mappings from LLParser to SlotMapping as the SlotMapping class is initialized after parsing and validation, and thus there's no need to copy the mappings.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10551

Files:
  include/llvm/AsmParser/Parser.h
  include/llvm/AsmParser/SlotMapping.h
  lib/AsmParser/LLParser.cpp
  lib/AsmParser/LLParser.h
  lib/AsmParser/Parser.cpp
  unittests/AsmParser/AsmParserTest.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10551.28177.patch
Type: text/x-patch
Size: 11411 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150623/e70974bd/attachment.bin>


More information about the llvm-commits mailing list