diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-03-31 18:48:58 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-03-31 18:48:58 +0000 |
commit | d93bf04a0733210c376a79bc30570a58516b330c (patch) | |
tree | 5656ada5dc1789d8123b8464bf78484c80c16eea /lib/Target | |
parent | c3681d334af978e066c4fdbfcadda492585ef338 (diff) | |
download | external_llvm-d93bf04a0733210c376a79bc30570a58516b330c.zip external_llvm-d93bf04a0733210c376a79bc30570a58516b330c.tar.gz external_llvm-d93bf04a0733210c376a79bc30570a58516b330c.tar.bz2 |
Comment the changes for r98218 and friends inside the source code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp b/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp index c3dcf8e..66bb914 100644 --- a/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp +++ b/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp @@ -524,6 +524,11 @@ void X86AsmPrinter::EmitEndOfAsmFile(Module &M) { 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*/); |