<p dir="ltr">Oops. Thanks! </p>
<div class="gmail_quote">On Mar 20, 2015 5:12 PM, "Benjamin Kramer" <<a href="mailto:benny.kra@googlemail.com">benny.kra@googlemail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: d0k<br>
Date: Fri Mar 20 16:07:30 2015<br>
New Revision: 232848<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=232848&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=232848&view=rev</a><br>
Log:<br>
X86: Make helper functions static. NFC.<br>
<br>
Modified:<br>
llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp<br>
<br>
Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp?rev=232848&r1=232847&r2=232848&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp?rev=232848&r1=232847&r2=232848&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp (original)<br>
+++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp Fri Mar 20 16:07:30 2015<br>
@@ -73,8 +73,8 @@ static X86_64RelType getType64(unsigned<br>
}<br>
}<br>
<br>
-unsigned getRelocType64(MCSymbolRefExpr::VariantKind Modifier,<br>
- X86_64RelType Type, bool IsPCRel) {<br>
+static unsigned getRelocType64(MCSymbolRefExpr::VariantKind Modifier,<br>
+ X86_64RelType Type, bool IsPCRel) {<br>
switch (Modifier) {<br>
default:<br>
llvm_unreachable("Unimplemented");<br>
@@ -176,8 +176,8 @@ static X86_32RelType getType32(X86_64Rel<br>
}<br>
}<br>
<br>
-unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier,<br>
- X86_32RelType Type, bool IsPCRel) {<br>
+static unsigned getRelocType32(MCSymbolRefExpr::VariantKind Modifier,<br>
+ X86_32RelType Type, bool IsPCRel) {<br>
switch (Modifier) {<br>
default:<br>
llvm_unreachable("Unimplemented");<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>