diff options
author | 2004-05-24 17:07:37 -0700 | |
---|---|---|
committer | 2005-04-07 21:01:43 -0700 | |
commit | 9465af87f4da0a786ffbcdf35ac5f274be1431ef (patch) | |
tree | 17603486c615095125bcff96a50643df1d374868 /test-linearize.c | |
parent | Add a few test-cases that Al Viro noted. (diff) | |
download | sparse-9465af87f4da0a786ffbcdf35ac5f274be1431ef.tar.gz sparse-9465af87f4da0a786ffbcdf35ac5f274be1431ef.tar.bz2 sparse-9465af87f4da0a786ffbcdf35ac5f274be1431ef.zip |
Generalize linearize_symbol()
Allow it to be used by multiple callers.
Diffstat (limited to 'test-linearize.c')
-rw-r--r-- | test-linearize.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test-linearize.c b/test-linearize.c index 9d6d6ea..3b5459e 100644 --- a/test-linearize.c +++ b/test-linearize.c @@ -23,10 +23,13 @@ static void clean_up_symbol(struct symbol *sym, void *_parent, int flags) { + struct entrypoint *ep; + check_duplicates(sym); evaluate_symbol(sym); expand_symbol(sym); - linearize_symbol(sym); + ep = linearize_symbol(sym); + show_entry(ep); } int main(int argc, char **argv) |