[llvm] r186934 - Add an initial implementation of archive symbol table generation.

Demikhovsky, Elena elena.demikhovsky at intel.com
Mon Jan 13 05:34:43 PST 2014


Hi Rafael,

My system administrator changed my user id and now it contains 8 digits.
The code bellow fails with assertion ("8 < 6"). I checked my linux system and saw that uid_t is defined as unsigned int.
I also have other failures in llvm-ar after I received a new UID. I assume that these hard-coded values should be changed.

+static void printRestOfMemberHeader(raw_fd_ostream &Out,
+                                    const sys::TimeValue &ModTime, unsigned UID,
+                                    unsigned GID, unsigned Perms,
+                                    unsigned Size) {
+  printWithSpacePadding(Out, ModTime.toEpochTime(), 12);
+  printWithSpacePadding(Out, UID, 6);
+  printWithSpacePadding(Out, GID, 6);
+  printWithSpacePadding(Out, format("%o", Perms), 8);
+  printWithSpacePadding(Out, Size, 10);
+  Out << "`\n";
+}

Thanks,

-        Elena



---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140113/596bfbf3/attachment.html>


More information about the llvm-commits mailing list