diff options
author | Owen Anderson <resistor@mac.com> | 2012-09-19 21:34:18 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2012-09-19 21:34:18 +0000 |
commit | 1fc793e9268d8c4b0b3a410002a1f5ea4a07281e (patch) | |
tree | b66e0aad87e51e3455187e354db200eb0e6fc5a4 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | 7d3c9c0a2afb95f8ead52d8f8b8fed9d3898cddc (diff) | |
download | bcm5719-llvm-1fc793e9268d8c4b0b3a410002a1f5ea4a07281e.tar.gz bcm5719-llvm-1fc793e9268d8c4b0b3a410002a1f5ea4a07281e.zip |
Implement a correct copy constructor for Record. Now that we're using the ID number as a key in maps (for determinism), it is imperative that ID numbers be globally unique, even when we copy construct a Record.
This fixes some obscure failure cases involving registers defined inside multiclasses or foreach constructs that would not receive a unique ID, and would end up being omitted from the AsmMatcher tables.
llvm-svn: 164251
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions