summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2020-06-09 11:57:24 -0700
committerMitch Phillips <31459023+hctim@users.noreply.github.com>2020-06-09 13:02:13 -0700
commite26b25f8b1fdbc088abdfab933d909960989c64b (patch)
tree97db8f1a235606ca2c8fd97e5b187d342cc87345 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent9bca45bd45ebb0abb676bcdce2a8436396203460 (diff)
[HWASan] Add sizeof(global) in report even if symbols missing.
Summary: Refactor the current global header iteration to be callback-based, and add a feature that reports the size of the global variable during reporting. This allows binaries without symbols to still report the size of the global variable, which is always available in the HWASan globals PT_NOTE metadata. Reviewers: eugenis, pcc Reviewed By: pcc Subscribers: mgorny, llvm-commits, #sanitizers Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D80599
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions