aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-reduce/llvm-reduce.cpp
diff options
context:
space:
mode:
authorZequan Wu <zequanwu@google.com>2022-04-22 18:35:00 -0700
committerZequan Wu <zequanwu@google.com>2022-04-27 14:37:35 -0700
commita3b7cb015fd5fd2aa98afda8ae22759576ce2888 (patch)
tree534536d9b908aade3dce80500d52f449de11148d /llvm/tools/llvm-reduce/llvm-reduce.cpp
parent18b9c4637099f6ed5414d8778de8c773291a9cf9 (diff)
downloadllvm-a3b7cb015fd5fd2aa98afda8ae22759576ce2888.zip
llvm-a3b7cb015fd5fd2aa98afda8ae22759576ce2888.tar.gz
llvm-a3b7cb015fd5fd2aa98afda8ae22759576ce2888.tar.bz2
[llvm-pdbutil] Add options to only dump symbol record at specified offset and its parents or children with spcified depth.
Right now, if we want to dump symbol at specified offset, we need to use `grep`. And it can only show surrounding symbols in layout (not in lexical scope sense). This adds similar options to `dump` command as `llvm-dwarfdump` to allow users to dump symbol record at specified offset and its parents or children with spcified depth. `--symbol-offset=` must be used with `--modi` to dump only one symbol at given offset. `--show-parents`/`--show-children` must be used with `--symbol-offset` to dump all symbols that are parents/children of the symbol at given offset. `--parent-recurse-depth`/`--children-recurse-depth` must be used with `--show-parents`/`--show-children` to specify the max up/down depth. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D124317
Diffstat (limited to 'llvm/tools/llvm-reduce/llvm-reduce.cpp')
0 files changed, 0 insertions, 0 deletions