[PATCH] D53227: [hwasan] add stack frame descriptions.

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 12 16:37:38 PDT 2018


kcc created this revision.
kcc added reviewers: morehouse, eugenis.
Herald added subscribers: kubamracek, srhines.

At compile-time, create an array of {PC,HumanReadableStackFrameDescription}
for every function that has an instrumented frame, and pass this array
to the run-time at the module-init time.
Similar to how we handle pc-table in SanitizerCoverage.
The run-time is dummy, will add the actual logic in later commits.


Repository:
  rL LLVM

https://reviews.llvm.org/D53227

Files:
  lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  projects/compiler-rt/lib/hwasan/hwasan.cc
  projects/compiler-rt/lib/hwasan/hwasan_interface_internal.h
  test/Instrumentation/HWAddressSanitizer/basic.ll
  test/Instrumentation/HWAddressSanitizer/frame-descriptor.ll
  test/Instrumentation/HWAddressSanitizer/with-calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53227.169518.patch
Type: text/x-patch
Size: 8777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181012/77e2c5b0/attachment.bin>


More information about the llvm-commits mailing list