HomePhabricator

MC: mark `dump` with `LLVM_DUMP_METHOD`

Authored by Saleem Abdulrasool <abdulras@google.com> on May 27 2021, 10:43 AM.

Description

MC: mark dump with LLVM_DUMP_METHOD

Mark the ELFRelocationEntry::dump method as LLVM_DUMP_METHOD to
annotate it properly as used to prevent the function being dead stripped
away. This allows use of dump in the debugger. This is purely to
improve the developer experience.

Details

Committed
Saleem Abdulrasool <abdulras@google.com>May 27 2021, 10:47 AM
Parents
rGeb69763ad8ea: [NFC][scudo] Rename internal function
Branches
Unknown
Tags
Unknown

Event Timeline

Saleem Abdulrasool <abdulras@google.com> committed rG4cc5a971010e: MC: mark `dump` with `LLVM_DUMP_METHOD` (authored by Saleem Abdulrasool <abdulras@google.com>).May 27 2021, 10:47 AM
Herald added a subscriber: Restricted Project. ยท View Herald TranscriptMay 27 2021, 10:48 AM