[llvm-commits] [llvm] r100033 - /llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp

Bill Wendling isanbard at gmail.com
Wed Mar 31 11:48:59 PDT 2010


Author: void
Date: Wed Mar 31 13:48:58 2010
New Revision: 100033

URL: http://llvm.org/viewvc/llvm-project?rev=100033&view=rev
Log:
Comment the changes for r98218 and friends inside the source code.

Modified:
    llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp

Modified: llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp?rev=100033&r1=100032&r2=100033&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp Wed Mar 31 13:48:58 2010
@@ -524,6 +524,11 @@
           OutStreamer.EmitIntValue(0, 4/*size*/, 0/*addrspace*/);
         else
           // Internal to current translation unit.
+          //
+          // When we place the LSDA into the TEXT section, the type info
+          // pointers need to be indirect and pc-rel. We accomplish this by
+          // using NLPs.  However, sometimes the types are local to the file. So
+          // we need to fill in the value for the NLP in those cases.
           OutStreamer.EmitValue(MCSymbolRefExpr::Create(MCSym.getPointer(),
                                                         OutContext),
                                 4/*size*/, 0/*addrspace*/);





More information about the llvm-commits mailing list