diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2018-05-29 14:35:34 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2018-05-29 14:35:34 +0000 |
| commit | 43dce3edbe237d5e07d44e27ef22e91ca23ff2a1 (patch) | |
| tree | 8eb615e05d5794f43720905417a30f14e430c68c /llvm/lib/DebugInfo | |
| parent | ef0f7496d17409cf5cee863746bed09a2356e409 (diff) | |
| download | bcm5719-llvm-43dce3edbe237d5e07d44e27ef22e91ca23ff2a1.tar.gz bcm5719-llvm-43dce3edbe237d5e07d44e27ef22e91ca23ff2a1.zip | |
[CodeView] Add prefix to CodeView registers.
Adds CVReg to CodeView register names to prevent a duplicate symbol with
CR3 defined in termios.h, as suggested by Zachary on the mailing list.
http://lists.llvm.org/pipermail/llvm-dev/2018-May/123372.html
Differential revision: https://reviews.llvm.org/D47478
rdar://39863705
llvm-svn: 333421
Diffstat (limited to 'llvm/lib/DebugInfo')
| -rw-r--r-- | llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp b/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp index fbe334823e0..a4b02959631 100644 --- a/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp +++ b/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp @@ -188,7 +188,7 @@ uint32_t NativeRawSymbol::getLiveRangeStartRelativeVirtualAddress() const { } codeview::RegisterId NativeRawSymbol::getLocalBasePointerRegisterId() const { - return codeview::RegisterId::EAX; + return codeview::RegisterId::CVRegEAX; } uint32_t NativeRawSymbol::getLowerBoundId() const { @@ -248,7 +248,7 @@ uint32_t NativeRawSymbol::getRank() const { } codeview::RegisterId NativeRawSymbol::getRegisterId() const { - return codeview::RegisterId::EAX; + return codeview::RegisterId::CVRegEAX; } uint32_t NativeRawSymbol::getRegisterType() const { |

