Include invoke'd functions for recursive extract
authorDavid Callahan <dcallahan@fb.com>
Thu, 4 Apr 2019 23:30:47 +0000 (23:30 +0000)
committerDavid Callahan <dcallahan@fb.com>
Thu, 4 Apr 2019 23:30:47 +0000 (23:30 +0000)
commitf498bdcebfa439218e315be74a62ad52db3e2846
tree7ce7c0f7a93857d40367d0d089fc5694538aca37
parenta6ed16c98f503f5acc912a8f00b74f591f6de951
Include invoke'd functions for recursive extract

Summary: When recursively extracting a function from a bit code file, include functions mentioned in InvokeInst as well as CallInst

Reviewers: loladiro, espindola, volkan

Reviewed By: loladiro

Subscribers: llvm-commits

Tags: #llvm

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

llvm-svn: 357735
llvm/test/tools/llvm-extract/recursive.ll
llvm/tools/llvm-extract/llvm-extract.cpp