Cleanup: Move the *AddressDescription printing code to Print() members inside those...
authorFilipe Cabecinhas <me@filcab.net>
Fri, 19 Aug 2016 13:07:23 +0000 (13:07 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Fri, 19 Aug 2016 13:07:23 +0000 (13:07 +0000)
commit53a45fa4e30f47fbc2efbb2e4e83f579decee119
tree402c3fbc5da9a9cee64d52ccd9adc0047df6a38e
parenta2f96619cb046ab0dd8e49c086c25cc375c74898
Cleanup: Move the *AddressDescription printing code to Print() members inside those structs.

Summary:
The Print() members might take optional access_size and bug_type
parameters to still be able to provide the same information

Reviewers: kcc, samsonov

Subscribers: kubabrecka, llvm-commits

Differential Revision: https://reviews.llvm.org/D23658

llvm-svn: 279237
compiler-rt/lib/asan/asan_descriptions.cc
compiler-rt/lib/asan/asan_descriptions.h
compiler-rt/lib/asan/asan_report.cc