[PATCH] D120260: [BOLT][NFC] Fix undefined behavior in encodeAnnotationImm

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 22 13:37:11 PST 2022


Amir updated this revision to Diff 410636.
Amir added a comment.

Change extractAnnotationIndex return type from unsigned to uint8_t


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120260/new/

https://reviews.llvm.org/D120260

Files:
  bolt/include/bolt/Core/MCPlusAnnotation.h
  bolt/include/bolt/Core/MCPlusBuilder.h
  bolt/unittests/Core/CMakeLists.txt
  bolt/unittests/Core/MCPlusBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120260.410636.patch
Type: text/x-patch
Size: 4527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220222/44cfedcf/attachment.bin>


More information about the llvm-commits mailing list