[PATCH] [inline-asm] Fix scope of assembly macros

Sergey Dmitrouk sdmitrouk at accesssoftek.com
Tue Nov 25 07:12:01 PST 2014


Fix second issue with `StringRef` by introducing a wrapper class that copies underlying string value. Better ideas are welcomed.

http://reviews.llvm.org/D6383

Files:
  include/llvm/CodeGen/AsmPrinter.h
  include/llvm/MC/MCParser/MCAsmParser.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  lib/MC/MCParser/AsmParser.cpp
  test/CodeGen/Generic/inline-asm-macros-global-and-local.ll
  test/CodeGen/Generic/inline-asm-macros-local-and-local.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6383.16618.patch
Type: text/x-patch
Size: 14268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141125/554d7354/attachment.bin>


More information about the llvm-commits mailing list