OSDN Git Service

[codeview] Revert inline line table change of r362264
authorReid Kleckner <rnk@google.com>
Fri, 31 May 2019 22:55:03 +0000 (22:55 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 31 May 2019 22:55:03 +0000 (22:55 +0000)
commitb0c1ff7c6086d3391e3882e12725f74da401ede6
tree734d2587b396bceedeccbb7faf52118e0bd578f1
parenta8ccb77d84acd4edaed2ba0a4f77780c833ff8e4
[codeview] Revert inline line table change of r362264

Testing with debuggers shows that our previous behavior was correct.
The reason I thought MSVC did things differently is that MSVC prefers to
use the 0xB combined code offset and code length update opcode when
inline sites are discontiguous.

Keep the test changes, and update the llvm-pdbutil inline line table
dumper to account for this new interpretation of the opcodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362277 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCCodeView.cpp
test/MC/COFF/cv-inline-linetable-unlikely.s
test/MC/COFF/cv-loc-unreachable-2.s
test/MC/COFF/cv-loc-unreachable.s
tools/llvm-pdbutil/MinimalSymbolDumper.cpp