When recursively extracting a function from a bit code file, include functions mentioned in InvokeInst as well as CallInst
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 30024 Build 30023: arc lint + arc unit
Event Timeline
Comment Actions
Inline comment on implementation. The functionality looks fine to me.
| tools/llvm-extract/llvm-extract.cpp | ||
|---|---|---|
| 274 | Just use CallBase here instead of enumerating the subclasses thereof? | |
| tools/llvm-extract/llvm-extract.cpp | ||
|---|---|---|
| 273–277 | nit: The Function * can just remain here. | |
Just use CallBase here instead of enumerating the subclasses thereof?
Also the formatting, looks slightly off.