[LLVMdev] llvm-ar's q operation
Sanghyeon Seo
sanxiyn at gmail.com
Tue Dec 25 05:53:55 PST 2007
I'm not sure how this happened, but llvm-ar q doesn't work, even if
llvm-ar.cpp has relevant codes.
As the developer policy said "you are allowed to commit patches
without approval which you think are obvious", I did. The patch
follows, just in case.
Index: tools/llvm-ar/llvm-ar.cpp
===================================================================
--- tools/llvm-ar/llvm-ar.cpp (revision 45352)
+++ tools/llvm-ar/llvm-ar.cpp (working copy)
@@ -188,6 +188,7 @@
case 'd': ++NumOperations; Operation = Delete; break;
case 'm': ++NumOperations; Operation = Move ; break;
case 'p': ++NumOperations; Operation = Print; break;
+ case 'q': ++NumOperations; Operation = QuickAppend; break;
case 'r': ++NumOperations; Operation = ReplaceOrInsert; break;
case 't': ++NumOperations; Operation = DisplayTable; break;
case 'x': ++NumOperations; Operation = Extract; break;
--
Seo Sanghyeon
More information about the llvm-dev
mailing list