[PATCH] D43006: MC: store defined macros in MCContext
Roger via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 02:11:46 PST 2018
royger created this revision.
royger added reviewers: espindola, mcrosier, javed.absar.
Herald added subscribers: llvm-commits, eraman.
So that macros defined in inline assembly blocks are available to the
whole file.
This provides a consistent behavior with other assembly directives,
since equations for example are already preserved between inline
assembly blocks.
PR: 36110
Repository:
rL LLVM
https://reviews.llvm.org/D43006
Files:
include/llvm/MC/MCAsmMacro.h
include/llvm/MC/MCContext.h
lib/MC/MCParser/AsmParser.cpp
test/MC/AsmParser/inline_macro_duplication.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43006.133175.patch
Type: text/x-patch
Size: 7046 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/84feca44/attachment.bin>
More information about the llvm-commits
mailing list