[CodeView] Fix inline sites that are missing code offsets.
authorAmy Huang <akhuang@google.com>
Thu, 3 Dec 2020 17:03:55 +0000 (09:03 -0800)
committerAmy Huang <akhuang@google.com>
Mon, 7 Dec 2020 21:01:53 +0000 (13:01 -0800)
commit399bc48eccf0d983a8a4644c12ed9cc21ff33f33
treef455a468bdb61f88584c37b159ee89356a5fd077
parentb570f82f43a74fc842b9fd7f03bf0eca18fc9474
[CodeView] Fix inline sites that are missing code offsets.

When an inline site has a starting code offset of 0, we sometimes
don't emit the starting offset.

Bug: https://bugs.llvm.org/show_bug.cgi?id=48377

Differential Revision: https://reviews.llvm.org/D92590
llvm/lib/MC/MCCodeView.cpp
llvm/test/MC/COFF/cv-inline-linetable-infloop.s
llvm/test/MC/COFF/cv-loc-unreachable-2.s
llvm/test/MC/COFF/cv-loc-unreachable.s