diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-11-12 14:09:49 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-11-14 23:34:33 +0200 |
commit | 614eabb225a9f62d1dbfe50fe44e7b9db9c0467d (patch) | |
tree | ed0ae264afb6e4dc4b7bc3f3f908281ebd50f220 /src/main.c | |
parent | b92047ed10c4da784c296dfcf09da250b7b637c7 (diff) | |
download | cflow-614eabb225a9f62d1dbfe50fe44e7b9db9c0467d.tar.gz cflow-614eabb225a9f62d1dbfe50fe44e7b9db9c0467d.tar.bz2 |
Include static symbols as root points in inverted graphs.
* src/cflow.h (linked_list_size): New function.
* src/linked-list.c (linked_list_size): New function.
* src/symbol.c (collect_symbols): Include static symbols,
if allowed by sel.
* src/main.c (parse_opt): Exclude static symbols for --xref
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -647,6 +647,7 @@ parse_opt (int key, char *arg, struct argp_state *state) break; case 'x': print_option = PRINT_XREF; + SYMBOL_EXCLUDE('s'); /* Exclude static symbols by default */ break; case OPT_PREPROCESS: preprocess_option = 1; |