[cfe-commits] r81778 - /cfe/trunk/lib/CodeGen/CGObjCGNU.cpp

David Chisnall csdavec at swan.ac.uk
Mon Sep 14 12:04:10 PDT 2009


Author: theraven
Date: Mon Sep 14 14:04:10 2009
New Revision: 81778

URL: http://llvm.org/viewvc/llvm-project?rev=81778&view=rev
Log:
Small fix to stop CGObjCGNU emitting symbols that break some versions of gas.


Modified:
    cfe/trunk/lib/CodeGen/CGObjCGNU.cpp

Modified: cfe/trunk/lib/CodeGen/CGObjCGNU.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCGNU.cpp?rev=81778&r1=81777&r2=81778&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCGNU.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCGNU.cpp Mon Sep 14 14:04:10 2009
@@ -1394,7 +1394,7 @@
      iter = TypedSelectors.begin(), iterEnd = TypedSelectors.end();
      iter != iterEnd ; ++iter) {
     Elements.push_back(ExportUniqueString(iter->first.first, ".objc_sel_name"));
-    Elements.push_back(ExportUniqueString(iter->first.second,
+    Elements.push_back(MakeConstantString(iter->first.second,
                                           ".objc_sel_types"));
     Selectors.push_back(llvm::ConstantStruct::get(SelStructTy, Elements));
     Elements.clear();





More information about the cfe-commits mailing list