diff options
author | Alexander Kornienko <alexfh@google.com> | 2012-08-29 16:56:24 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2012-08-29 16:56:24 +0000 |
commit | c0b4928df87a856696aee603ca994739df476675 (patch) | |
tree | 36eac4a91b4f4a5684b87e55bfa8807211d47c15 /llvm/lib/CodeGen/AsmPrinter/DIE.cpp | |
parent | 771f1607588293a2bd0f3d2a7686792cdcc5efee (diff) | |
download | bcm5719-llvm-c0b4928df87a856696aee603ca994739df476675.tar.gz bcm5719-llvm-c0b4928df87a856696aee603ca994739df476675.zip |
Fixed a problem with #pragma push_macro/pop_macro implementation.
Summary:
The problem was with the following sequence:
#pragma push_macro("long")
#undef long
#pragma pop_macro("long")
in case when "long" didn't represent a macro.
Fixed crash and removed code duplication for #undef/pop_macro case. Added regression tests.
Reviewers: doug.gregor, klimek
Reviewed By: doug.gregor
CC: cfe-commits, chapuni
Differential Revision: http://llvm-reviews.chandlerc.com/D31
llvm-svn: 162845
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIE.cpp')
0 files changed, 0 insertions, 0 deletions