[PATCH] Setting a symbol's type to function has no effect if its type is gnu_indirect_function.

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Wed Apr 10 06:19:26 PDT 2013


  LGTM with the array_lengthof change. Thanks!


================
Comment at: lib/MC/MCELFStreamer.cpp:139
@@ +138,3 @@
+                             ELF::STT_GNU_IFUNC, ELF::STT_TLS};
+  for (unsigned i = 0; i != sizeof(TypeOrdering)/sizeof(TypeOrdering[0]); ++i) {
+    if (T1 == TypeOrdering[i])
----------------
array_lengthof


http://llvm-reviews.chandlerc.com/D607

BRANCH
  indir

ARCANIST PROJECT
  llvm



More information about the llvm-commits mailing list