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 | d749aefbd5637f3f43d2657bcfb8f8fd35238694 (patch) | |
tree | 699c6947f9ae43a8041e80d05eea4c5873eee15d /llvm/lib/Target | |
parent | 6e0dbca6c4074c32de0655bc3eda9b467fb9af6b (diff) | |
download | bcm5719-llvm-d749aefbd5637f3f43d2657bcfb8f8fd35238694.tar.gz bcm5719-llvm-d749aefbd5637f3f43d2657bcfb8f8fd35238694.zip |
Comment the changes for r98218 and friends inside the source code.
llvm-svn: 100033
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp b/llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp index c3dcf8e66ea..66bb914edde 100644 --- a/llvm/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp +++ b/llvm/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*/); |