From binutils 2.34 onwards, ar supports --output to specify a directory
where archive members should be extracted to. Port this feature.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
llvm/test/tools/llvm-ar/extract.test | ||
---|---|---|
51 | I just reuse the --output=dir case. |
Comment Actions
LGTM, with one suggestion.
llvm/tools/llvm-ar/llvm-ar.cpp | ||
---|---|---|
472 | OutputDir probably should be quoted in case there are any spaces in the path. |