[PATCH] D126968: [CodeView] Fix incorrect CodeView encoding of signed integer constants

Steve Merritt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 3 07:54:21 PDT 2022


smerritt created this revision.
smerritt added reviewers: rnk, akhuang, bwyma.
smerritt added a project: debug-info.
Herald added a subscriber: hiraditya.
Herald added a project: All.
smerritt requested review of this revision.
Herald added a project: LLVM.

Add proper CodeView encoding for positive constant integer values greater than 127.  In addition, use the two byte encoding form for positive values less than LF_NUMERIC.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126968

Files:
  llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
  llvm/test/DebugInfo/COFF/globals.ll
  llvm/test/DebugInfo/COFF/numeric-leaves.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126968.434028.patch
Type: text/x-patch
Size: 17125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220603/6aa803e6/attachment.bin>


More information about the llvm-commits mailing list