projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3681d3
)
Comment the changes for r98218 and friends inside the source code.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 31 Mar 2010 18:48:58 +0000
(18:48 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 31 Mar 2010 18:48:58 +0000
(18:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100033
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
b/lib/Target/X86/AsmPrinter/X86AsmPrinter.cpp
index c3dcf8e66eab542288cd5ad6a517162f5ebdd5de..66bb914edde5fda251df161dfcba95792cc5b43a 100644
(file)
--- 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*/);