Details
- Reviewers
haowei mcgrathr - Commits
- rGdf2812d8de2a: [ifs] Add --strip-needed flag
Diff Detail
Unit Tests
Event Timeline
llvm/tools/llvm-ifs/llvm-ifs.cpp | ||
---|---|---|
106 | Since this flag affects both IFS output as well as ELF output. I think it is better to rename this variable to StripNeededLibs |
- Changed cl::opt name
- Clear NeededLibs vector inline instead of using separate function
llvm/tools/llvm-ifs/llvm-ifs.cpp | ||
---|---|---|
106 | Done. Out of curiosity is there a reason that these other flags are only meaningful when outputting ifs? Why not have strip-undefined strip undefined syms when outputting elf stubs too? |
llvm/tools/llvm-ifs/llvm-ifs.cpp | ||
---|---|---|
106 | At the time when it was implemented, we thought it was unnecessary. So it only applied to IFS file. I guess it is OK to make the flag applies to the ELF as well. |
Since this flag affects both IFS output as well as ELF output. I think it is better to rename this variable to StripNeededLibs