[PATCH] D81894: [llvm-readobj][COFF] add .llvm.call-graph-profile section dump

Zequan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 17 22:39:34 PDT 2020


zequanwu updated this revision to Diff 271578.
zequanwu added a comment.

Add malformed `SectionData` test case for demonstration purpose.

Run the test case with `llvm-lit` cause llvm-readobj to crash, but run commands in the test individually just gives error `Stream Error: The stream is too short to perform the requested operation.`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81894

Files:
  llvm/test/tools/llvm-readobj/COFF/call-graph-profile.test
  llvm/test/tools/llvm-readobj/COFF/malformed-call-graph-profile.test
  llvm/tools/llvm-readobj/COFFDumper.cpp
  llvm/tools/llvm-readobj/llvm-readobj.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81894.271578.patch
Type: text/x-patch
Size: 10488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200618/8d135cbd/attachment.bin>


More information about the llvm-commits mailing list