<p dir="ltr">Interesting. I wouldn't expect any difference in the generated relocations, just on the name of what they point to (which is a local symbol anyway). </p>
<p dir="ltr">Do revert if it fixes the problem. Can you provide a testcase of when this makes a difference on which relocations are produced? </p>
<div class="gmail_quote">On Jun 22, 2015 4:40 PM, "Richard Smith" <<a href="mailto:richard@metafoo.co.uk">richard@metafoo.co.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hi Rafael,</div><div class="gmail_quote"><br></div><div class="gmail_quote">Some recent change is causing many link failures for us, of the following forms:</div><div class="gmail_quote"><br></div><div class="gmail_quote"><pre style="margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);line-height:18.5919990539551px">ld: error: blah.o: requires dynamic R_X86_64_PC32 reloc against '' which may overflow at runtime; recompile with -fPIC
</pre><pre style="margin-top:0px;margin-bottom:0px;white-space:pre-wrap;color:rgb(0,0,0);line-height:18.5919990539551px"><pre style="margin-top:0px;margin-bottom:0px;white-space:pre-wrap;line-height:18.5919990539551px">blah.cc:function f(): error: undefined reference to ''
blah.o:g(): error: undefined reference to ''
</pre><div><br></div></pre><div>The empty symbol names make me suspect this patch is the culprit. (The .o files producing the first diagnostic *were* all built with -fPIC.)</div></div><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Jun 22, 2015 at 10:52 AM, Rafael Espindola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Author: rafael<br>
Date: Mon Jun 22 12:52:52 2015<br>
New Revision: 240302<br>
<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D240302-26view-3Drev&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=ciPgW3pOyvXEkJ3-Gmh1nypam30u9Ygq1UZ5rI-gUJ0&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=240302&view=rev</a><br>
Log:<br>
Bring r240130 back.<br>
<br>
Now that pr23900 is fixed, we can bring it back with no changes.<br>
<br>
Original message:<br>
<br>
Make all temporary symbols unnamed.<br>
<br>
What this does is make all symbols that would otherwise start with a .L<br>
(or L on MachO) unnamed.<br>
<br>
Some of these symbols still show up in the symbol table, but we can just<br>
make them unnamed.<br>
<br>
In order to make sure we produce identical results when going thought assembly,<br>
all .L (not just the compiler produced ones), are now unnamed.<br>
<br>
Running llc on llvm-as.opt.bc, the peak memory usage goes from 208.24MB to<br>
205.57MB.<br>
<br>
Added:<br>
llvm/trunk/test/MC/ELF/undef-temp.s<br>
Removed:<br>
llvm/trunk/test/MC/ELF/undef2.s<br>
Modified:<br>
llvm/trunk/include/llvm/MC/MCContext.h<br>
llvm/trunk/lib/MC/ELFObjectWriter.cpp<br>
llvm/trunk/lib/MC/MCContext.cpp<br>
llvm/trunk/lib/MC/MachObjectWriter.cpp<br>
llvm/trunk/test/CodeGen/SPARC/obj-relocs.ll<br>
llvm/trunk/test/MC/ARM/elf-reloc-02.s<br>
llvm/trunk/test/MC/ELF/basic-elf-32.s<br>
llvm/trunk/test/MC/ELF/compression.s<br>
llvm/trunk/test/MC/ELF/discriminator.s<br>
llvm/trunk/test/MC/ELF/merge.s<br>
llvm/trunk/test/MC/ELF/relocation-386.s<br>
llvm/trunk/test/MC/ELF/undef.s<br>
llvm/trunk/test/MC/MachO/AArch64/classrefs.s<br>
llvm/trunk/test/MC/MachO/AArch64/darwin-ARM64-reloc.s<br>
llvm/trunk/test/MC/MachO/AArch64/ld64-workaround.s<br>
llvm/trunk/test/MC/MachO/AArch64/mergeable.s<br>
llvm/trunk/test/MC/MachO/AArch64/reloc-crash.s<br>
llvm/trunk/test/MC/MachO/x86_64-mergeable.s<br>
llvm/trunk/test/MC/MachO/x86_64-symbols.s<br>
llvm/trunk/test/MC/Mips/cpsetup.s<br>
llvm/trunk/test/MC/Mips/elf-relsym.s<br>
llvm/trunk/test/MC/Mips/xgot.s<br>
llvm/trunk/test/MC/Sparc/sparc-pic.s<br>
<br>
Modified: llvm/trunk/include/llvm/MC/MCContext.h<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_include_llvm_MC_MCContext.h-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=NHy3P3jxfzHX_DTxTa9HOzhAos2bjykveeQeIE1jleg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCContext.h?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/include/llvm/MC/MCContext.h (original)<br>
+++ llvm/trunk/include/llvm/MC/MCContext.h Mon Jun 22 12:52:52 2015<br>
@@ -208,8 +208,7 @@ namespace llvm {<br>
<br>
MCSymbol *createSymbolImpl(const StringMapEntry<bool> *Name,<br>
bool CanBeUnnamed);<br>
- MCSymbol *createSymbol(StringRef Name, bool AlwaysAddSuffix,<br>
- bool IsTemporary);<br>
+ MCSymbol *createSymbol(StringRef Name, bool AlwaysAddSuffix);<br>
<br>
MCSymbol *getOrCreateDirectionalLocalSymbol(unsigned LocalLabelVal,<br>
unsigned Instance);<br>
@@ -249,10 +248,9 @@ namespace llvm {<br>
<br>
/// Create and return a new assembler temporary symbol with a unique but<br>
/// unspecified name.<br>
- MCSymbol *createTempSymbol(bool CanBeUnnamed = true);<br>
+ MCSymbol *createTempSymbol();<br>
<br>
- MCSymbol *createTempSymbol(const Twine &Name, bool AlwaysAddSuffix,<br>
- bool CanBeUnnamed = true);<br>
+ MCSymbol *createTempSymbol(const Twine &Name, bool AlwaysAddSuffix);<br>
<br>
/// Create the definition of a directional local symbol for numbered label<br>
/// (used for "1:" definitions).<br>
<br>
Modified: llvm/trunk/lib/MC/ELFObjectWriter.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_MC_ELFObjectWriter.cpp-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=XeI8PEcNhjoRDAA0B_qcuZwqrOFfPxSSq1_w68ZkTiE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/ELFObjectWriter.cpp?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)<br>
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Mon Jun 22 12:52:52 2015<br>
@@ -787,10 +787,15 @@ void ELFObjectWriter::computeSymbolTable<br>
Renames.count(&Symbol)))<br>
continue;<br>
<br>
+ if (Symbol.isTemporary() && Symbol.isUndefined())<br>
+ Ctx.reportFatalError(SMLoc(), "Undefined temporary");<br>
+<br>
ELFSymbolData MSD;<br>
MSD.Symbol = cast<MCSymbolELF>(&Symbol);<br>
<br>
bool Local = Symbol.getBinding() == ELF::STB_LOCAL;<br>
+ assert(Local || !Symbol.isTemporary());<br>
+<br>
if (Symbol.isAbsolute()) {<br>
MSD.SectionIndex = ELF::SHN_ABS;<br>
} else if (Symbol.isCommon()) {<br>
@@ -889,9 +894,11 @@ void ELFObjectWriter::computeSymbolTable<br>
unsigned Index = FileNames.size() + 1;<br>
<br>
for (ELFSymbolData &MSD : LocalSymbolData) {<br>
- unsigned StringIndex = MSD.Symbol->getType() == ELF::STT_SECTION<br>
- ? 0<br>
- : StrTabBuilder.getOffset(MSD.Name);<br>
+ unsigned StringIndex;<br>
+ if (MSD.Symbol->getType() == ELF::STT_SECTION || MSD.Name.empty())<br>
+ StringIndex = 0;<br>
+ else<br>
+ StringIndex = StrTabBuilder.getOffset(MSD.Name);<br>
MSD.Symbol->setIndex(Index++);<br>
writeSymbol(Writer, StringIndex, MSD, Layout);<br>
}<br>
<br>
Modified: llvm/trunk/lib/MC/MCContext.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_MC_MCContext.cpp-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=DaQ7_M4SRjCp5s8CKpveLD1oY32dHNbvd3HHlqqatmM&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCContext.cpp?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/MC/MCContext.cpp (original)<br>
+++ llvm/trunk/lib/MC/MCContext.cpp Mon Jun 22 12:52:52 2015<br>
@@ -116,7 +116,7 @@ MCSymbol *MCContext::getOrCreateSymbol(c<br>
<br>
MCSymbol *&Sym = Symbols[NameRef];<br>
if (!Sym)<br>
- Sym = createSymbol(NameRef, false, false);<br>
+ Sym = createSymbol(NameRef, false);<br>
<br>
return Sym;<br>
}<br>
@@ -175,17 +175,16 @@ MCSymbol *MCContext::createSymbolImpl(co<br>
IsTemporary);<br>
}<br>
<br>
-MCSymbol *MCContext::createSymbol(StringRef Name, bool AlwaysAddSuffix,<br>
- bool CanBeUnnamed) {<br>
- if (CanBeUnnamed && !UseNamesOnTempLabels)<br>
- return createSymbolImpl(nullptr, true);<br>
-<br>
+MCSymbol *MCContext::createSymbol(StringRef Name, bool AlwaysAddSuffix) {<br>
// Determine whether this is an user writter assembler temporary or normal<br>
// label, if used.<br>
- bool IsTemporary = CanBeUnnamed;<br>
- if (AllowTemporaryLabels && !IsTemporary)<br>
+ bool IsTemporary = false;<br>
+ if (AllowTemporaryLabels)<br>
IsTemporary = Name.startswith(MAI->getPrivateGlobalPrefix());<br>
<br>
+ if (IsTemporary && !UseNamesOnTempLabels)<br>
+ return createSymbolImpl(nullptr, true);<br>
+<br>
SmallString<128> NewName = Name;<br>
bool AddSuffix = AlwaysAddSuffix;<br>
unsigned &NextUniqueID = NextID[Name];<br>
@@ -206,21 +205,20 @@ MCSymbol *MCContext::createSymbol(String<br>
llvm_unreachable("Infinite loop");<br>
}<br>
<br>
-MCSymbol *MCContext::createTempSymbol(const Twine &Name, bool AlwaysAddSuffix,<br>
- bool CanBeUnnamed) {<br>
+MCSymbol *MCContext::createTempSymbol(const Twine &Name, bool AlwaysAddSuffix) {<br>
SmallString<128> NameSV;<br>
raw_svector_ostream(NameSV) << MAI->getPrivateGlobalPrefix() << Name;<br>
- return createSymbol(NameSV, AlwaysAddSuffix, CanBeUnnamed);<br>
+ return createSymbol(NameSV, AlwaysAddSuffix);<br>
}<br>
<br>
MCSymbol *MCContext::createLinkerPrivateTempSymbol() {<br>
SmallString<128> NameSV;<br>
raw_svector_ostream(NameSV) << MAI->getLinkerPrivateGlobalPrefix() << "tmp";<br>
- return createSymbol(NameSV, true, false);<br>
+ return createSymbol(NameSV, true);<br>
}<br>
<br>
-MCSymbol *MCContext::createTempSymbol(bool CanBeUnnamed) {<br>
- return createTempSymbol("tmp", true, CanBeUnnamed);<br>
+MCSymbol *MCContext::createTempSymbol() {<br>
+ return createTempSymbol("tmp", true);<br>
}<br>
<br>
unsigned MCContext::NextInstance(unsigned LocalLabelVal) {<br>
@@ -241,7 +239,7 @@ MCSymbol *MCContext::getOrCreateDirectio<br>
unsigned Instance) {<br>
MCSymbol *&Sym = LocalSymbols[std::make_pair(LocalLabelVal, Instance)];<br>
if (!Sym)<br>
- Sym = createTempSymbol(false);<br>
+ Sym = createTempSymbol();<br>
return Sym;<br>
}<br>
<br>
<br>
Modified: llvm/trunk/lib/MC/MachObjectWriter.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_MC_MachObjectWriter.cpp-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=7yxrq20XzXhxLz7gibDSqH76vMVeW49rzVBqHrqkf9s&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MachObjectWriter.cpp?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/MC/MachObjectWriter.cpp (original)<br>
+++ llvm/trunk/lib/MC/MachObjectWriter.cpp Mon Jun 22 12:52:52 2015<br>
@@ -565,7 +565,8 @@ void MachObjectWriter::computeSymbolTabl<br>
<br>
MachSymbolData MSD;<br>
MSD.Symbol = &Symbol;<br>
- MSD.StringIndex = StringTable.getOffset(Symbol.getName());<br>
+ StringRef Name = Symbol.getName();<br>
+ MSD.StringIndex = Name.empty() ? 0 : StringTable.getOffset(Name);<br>
<br>
if (Symbol.isAbsolute()) {<br>
MSD.SectionIndex = 0;<br>
<br>
Modified: llvm/trunk/test/CodeGen/SPARC/obj-relocs.ll<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_CodeGen_SPARC_obj-2Drelocs.ll-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=h8h3vP9uVENjFkB3TVbec2dqH8t_nyVN9Q_xMrtg3f4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/SPARC/obj-relocs.ll?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/SPARC/obj-relocs.ll (original)<br>
+++ llvm/trunk/test/CodeGen/SPARC/obj-relocs.ll Mon Jun 22 12:52:52 2015<br>
@@ -16,8 +16,8 @@<br>
; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_PC10 _GLOBAL_OFFSET_TABLE_ 0x8<br>
; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT22 AGlobalVar 0x0<br>
; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT10 AGlobalVar 0x0<br>
-; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT22 .L.mystr 0x0<br>
-; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT10 .L.mystr 0x0<br>
+; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT22 - 0x0<br>
+; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT10 - 0x0<br>
; CHECK-PIC-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_WPLT30 bar 0x0<br>
; CHECK-PIC: ]<br>
<br>
<br>
Modified: llvm/trunk/test/MC/ARM/elf-reloc-02.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_ARM_elf-2Dreloc-2D02.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=Nmo40ugah1f7NWsy1cj_H6AbxRghim2GS3dsnxmzqK4&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/elf-reloc-02.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/ARM/elf-reloc-02.s (original)<br>
+++ llvm/trunk/test/MC/ARM/elf-reloc-02.s Mon Jun 22 12:52:52 2015<br>
@@ -22,6 +22,6 @@<br>
<br>
// OBJ: Relocations [<br>
// OBJ: Section {{.*}} .rel.text {<br>
-// OBJ-NEXT: 0x{{[0-9,A-F]+}} R_ARM_MOVW_ABS_NC .L.str<br>
+// OBJ-NEXT: 0x{{[0-9,A-F]+}} R_ARM_MOVW_ABS_NC -<br>
// OBJ: }<br>
// OBJ: ]<br>
<br>
Modified: llvm/trunk/test/MC/ELF/basic-elf-32.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_ELF_basic-2Delf-2D32.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=FR7gI4f1kd_MczL_-21MU7Vy2oYJ9_FdLtsfn1Le2jc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/basic-elf-32.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/ELF/basic-elf-32.s (original)<br>
+++ llvm/trunk/test/MC/ELF/basic-elf-32.s Mon Jun 22 12:52:52 2015<br>
@@ -46,9 +46,9 @@ main:<br>
<br>
// CHECK: Relocations [<br>
// CHECK: Section {{.*}} .rel.text {<br>
-// CHECK: 0x6 R_386_32 .L.str1<br>
+// CHECK: 0x6 R_386_32 -<br>
// CHECK: 0xB R_386_PC32 puts<br>
-// CHECK: 0x12 R_386_32 .L.str2<br>
+// CHECK: 0x12 R_386_32 -<br>
// CHECK: 0x17 R_386_PC32 puts<br>
// CHECK: }<br>
// CHECK: ]<br>
<br>
Modified: llvm/trunk/test/MC/ELF/compression.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_ELF_compression.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=_FzxbCk8BrCD41mXncMUTXcdHGJVc7vC5ZdHSgLCvTE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/compression.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/ELF/compression.s (original)<br>
+++ llvm/trunk/test/MC/ELF/compression.s Mon Jun 22 12:52:52 2015<br>
@@ -28,9 +28,24 @@<br>
<br>
// In x86 32 bit named symbols are used for temporary symbols in merge<br>
// sections, so make sure we handle symbols inside compressed sections<br>
-// 386-SYMBOLS: Name: .Linfo_string0<br>
-// 386-SYMBOLS-NOT: }<br>
-// 386-SYMBOLS: Section: .zdebug_str<br>
+// 386-SYMBOLS: Symbol {<br>
+// 386-SYMBOLS-NEXT: Name: (0)<br>
+// 386-SYMBOLS-NEXT: Value: 0x0<br>
+// 386-SYMBOLS-NEXT: Size: 0<br>
+// 386-SYMBOLS-NEXT: Binding: Local (0x0)<br>
+// 386-SYMBOLS-NEXT: Type: None (0x0)<br>
+// 386-SYMBOLS-NEXT: Other: 0<br>
+// 386-SYMBOLS-NEXT: Section: Undefined (0x0)<br>
+// 386-SYMBOLS-NEXT: }<br>
+// 386-SYMBOLS-NEXT: Symbol {<br>
+// 386-SYMBOLS-NEXT: Name: (0)<br>
+// 386-SYMBOLS-NEXT: Value: 0x0<br>
+// 386-SYMBOLS-NEXT: Size: 0<br>
+// 386-SYMBOLS-NEXT: Binding: Local (0x0)<br>
+// 386-SYMBOLS-NEXT: Type: None (0x0)<br>
+// 386-SYMBOLS-NEXT: Other: 0<br>
+// 386-SYMBOLS-NEXT: Section: .zdebug_str (0xA)<br>
+// 386-SYMBOLS-NEXT: }<br>
<br>
.section .debug_line,"",@progbits<br>
<br>
<br>
Modified: llvm/trunk/test/MC/ELF/discriminator.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_ELF_discriminator.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=tYCc_o41_ph2bUZTWj7VJXFOUfRC7BALdUlYsYxQlzo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/discriminator.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/ELF/discriminator.s (original)<br>
+++ llvm/trunk/test/MC/ELF/discriminator.s Mon Jun 22 12:52:52 2015<br>
@@ -19,12 +19,12 @@ foo:<br>
.long .L.debug_abbrev_begin # Offset Into Abbrev. Section<br>
.byte 8 # Address Size (in bytes)<br>
.byte 1 # Abbrev [1] 0xb:0x1b DW_TAG_compile_unit<br>
- .long .Linfo_string0 # DW_AT_producer<br>
+ .long info_string0 # DW_AT_producer<br>
.short 12 # DW_AT_language<br>
- .long .Linfo_string1 # DW_AT_name<br>
+ .long info_string1 # DW_AT_name<br>
.quad 0 # DW_AT_low_pc<br>
.long 0 # DW_AT_stmt_list<br>
- .long .Linfo_string2 # DW_AT_comp_dir<br>
+ .long info_string2 # DW_AT_comp_dir<br>
# DW_AT_APPLE_optimized<br>
.section .debug_abbrev,"",@progbits<br>
.L.debug_abbrev_begin:<br>
<br>
Modified: llvm/trunk/test/MC/ELF/merge.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_ELF_merge.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=uBopyLPN-8CTtgcsMt-MsPTX5-L5btWYuMNWTGDegTs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/merge.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/ELF/merge.s (original)<br>
+++ llvm/trunk/test/MC/ELF/merge.s Mon Jun 22 12:52:52 2015<br>
@@ -22,9 +22,9 @@ foo:<br>
<br>
// CHECK: Relocations [<br>
// CHECK-NEXT: Section {{.*}} .rela.text {<br>
-// CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_PC32 .Lfoo 0x{{[^ ]+}}<br>
+// CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_PC32 - 0x{{[^ ]+}}<br>
// CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_32 .sec1 0x{{[^ ]+}}<br>
-// CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_32 .Lfoo 0x{{[^ ]+}}<br>
+// CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_32 - 0x{{[^ ]+}}<br>
// CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_PLT32 foo 0x{{[^ ]+}}<br>
// CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_GOTPCREL foo 0x{{[^ ]+}}<br>
// CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_32S zed 0x{{[^ ]+}}<br>
<br>
Modified: llvm/trunk/test/MC/ELF/relocation-386.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_ELF_relocation-2D386.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=iBvoJCLMp8jYuyjYn_O7vZUbngYbEwqrhVwgbQs63q8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/relocation-386.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/ELF/relocation-386.s (original)<br>
+++ llvm/trunk/test/MC/ELF/relocation-386.s Mon Jun 22 12:52:52 2015<br>
@@ -5,7 +5,7 @@<br>
<br>
// CHECK: Relocations [<br>
// CHECK-NEXT: Section {{.*}} .rel.text {<br>
-// CHECK-NEXT: 0x2 R_386_GOTOFF .Lfoo 0x0<br>
+// CHECK-NEXT: 0x2 R_386_GOTOFF - 0x0<br>
// CHECK-NEXT: 0x{{[^ ]+}} R_386_PLT32 bar2 0x0<br>
// CHECK-NEXT: 0x{{[^ ]+}} R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 0x0<br>
// Relocation 3 (bar3@GOTOFF) is done with symbol 7 (bss)<br>
<br>
Added: llvm/trunk/test/MC/ELF/undef-temp.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_ELF_undef-2Dtemp.s-3Frev-3D240302-26view-3Dauto&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=h_9ErOWVqHnhgGoImdutOEWjaFwfY2Chvb_AdqKc_-g&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/undef-temp.s?rev=240302&view=auto</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/ELF/undef-temp.s (added)<br>
+++ llvm/trunk/test/MC/ELF/undef-temp.s Mon Jun 22 12:52:52 2015<br>
@@ -0,0 +1,4 @@<br>
+// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o - 2>&1 | FileCheck %s<br>
+<br>
+// CHECK: Undefined temporary<br>
+ .long .Lfoo<br>
<br>
Modified: llvm/trunk/test/MC/ELF/undef.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_ELF_undef.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=MkAZtMebXvsEP5Y1tU6040_v0X34jAf4MCuDt6RkrLY&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/undef.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/ELF/undef.s (original)<br>
+++ llvm/trunk/test/MC/ELF/undef.s Mon Jun 22 12:52:52 2015<br>
@@ -2,7 +2,6 @@<br>
<br>
// Test which symbols should be in the symbol table<br>
<br>
- .long .Lsym1<br>
.Lsym2:<br>
.Lsym3:<br>
.Lsym4 = .Lsym2 - .Lsym3<br>
@@ -33,7 +32,7 @@ test2_b = undef + 1<br>
// CHECK-NEXT: Section: Undefined<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: .Lsym8<br>
+// CHECK-NEXT: Name: (0)<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: Size: 0<br>
// CHECK-NEXT: Binding: Local<br>
@@ -42,15 +41,6 @@ test2_b = undef + 1<br>
// CHECK-NEXT: Section: .rodata.str1.1<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: .Lsym1<br>
-// CHECK-NEXT: Value: 0x0<br>
-// CHECK-NEXT: Size: 0<br>
-// CHECK-NEXT: Binding: Global<br>
-// CHECK-NEXT: Type: None<br>
-// CHECK-NEXT: Other: 0<br>
-// CHECK-NEXT: Section: Undefined<br>
-// CHECK-NEXT: }<br>
-// CHECK-NEXT: Symbol {<br>
// CHECK-NEXT: Name: sym6<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: Size: 0<br>
<br>
Removed: llvm/trunk/test/MC/ELF/undef2.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_ELF_undef2.s-3Frev-3D240301-26view-3Dauto&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=UFlF3-ME9qal-tAdWwa8BHrlXggIha9su29uCyKWkuU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/undef2.s?rev=240301&view=auto</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/ELF/undef2.s (original)<br>
+++ llvm/trunk/test/MC/ELF/undef2.s (removed)<br>
@@ -1,18 +0,0 @@<br>
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -t | FileCheck %s<br>
-<br>
-// Test that this produces an undefined reference to .Lfoo<br>
-<br>
- je .Lfoo<br>
-<br>
-// CHECK: Section {<br>
-// CHECK: Name: .strtab<br>
-<br>
-// CHECK: Symbol {<br>
-// CHECK: Name: .Lfoo<br>
-// CHECK-NEXT: Value:<br>
-// CHECK-NEXT: Size:<br>
-// CHECK-NEXT: Binding: Global<br>
-// CHECK-NEXT: Type:<br>
-// CHECK-NEXT: Other:<br>
-// CHECK-NEXT: Section:<br>
-// CHECK-NEXT: }<br>
<br>
Modified: llvm/trunk/test/MC/MachO/AArch64/classrefs.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_MachO_AArch64_classrefs.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=dxiTLaMTTw8nETlILooIxwuJIjpWLTieqEpcxDhN-IE&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/AArch64/classrefs.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/MachO/AArch64/classrefs.s (original)<br>
+++ llvm/trunk/test/MC/MachO/AArch64/classrefs.s Mon Jun 22 12:52:52 2015<br>
@@ -10,7 +10,7 @@<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: Lbar<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: ]<br>
<br>
Modified: llvm/trunk/test/MC/MachO/AArch64/darwin-ARM64-reloc.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_MachO_AArch64_darwin-2DARM64-2Dreloc.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=avGNKUuyMmhoaDPiRnIacYrkUre2K7iQgjrBmNv1tII&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/AArch64/darwin-ARM64-reloc.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/MachO/AArch64/darwin-ARM64-reloc.s (original)<br>
+++ llvm/trunk/test/MC/MachO/AArch64/darwin-ARM64-reloc.s Mon Jun 22 12:52:52 2015<br>
@@ -41,7 +41,7 @@ L_.str:<br>
; CHECK-NEXT: PCRel: 1<br>
; CHECK-NEXT: Length: 2<br>
; CHECK-NEXT: Type: ARM64_RELOC_PAGE21 (3)<br>
-; CHECK-NEXT: Symbol: L_.str<br>
+; CHECK-NEXT: Symbol: -<br>
; CHECK-NEXT: }<br>
; CHECK-NEXT: Relocation {<br>
; CHECK-NEXT: Offset: 0x20<br>
<br>
Modified: llvm/trunk/test/MC/MachO/AArch64/ld64-workaround.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_MachO_AArch64_ld64-2Dworkaround.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=156xz7C-yrrdXjcHgVwyqWYGCSBU3ff-P6CD6yYe8QI&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/AArch64/ld64-workaround.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/MachO/AArch64/ld64-workaround.s (original)<br>
+++ llvm/trunk/test/MC/MachO/AArch64/ld64-workaround.s Mon Jun 22 12:52:52 2015<br>
@@ -11,28 +11,28 @@<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: Llit16<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Relocation {<br>
// CHECK-NEXT: Offset: 0x10<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: Llit8<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Relocation {<br>
// CHECK-NEXT: Offset: 0x8<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: Llit4<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Relocation {<br>
// CHECK-NEXT: Offset: 0x0<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: Lcfstring<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: ]<br>
<br>
Modified: llvm/trunk/test/MC/MachO/AArch64/mergeable.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_MachO_AArch64_mergeable.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=9mq_Eqo3jkYHsOvEPf0Y93EwHIwOiSP0g9o20V4-yeo&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/AArch64/mergeable.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/MachO/AArch64/mergeable.s (original)<br>
+++ llvm/trunk/test/MC/MachO/AArch64/mergeable.s Mon Jun 22 12:52:52 2015<br>
@@ -26,28 +26,28 @@ L1:<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: L1<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Relocation {<br>
// CHECK-NEXT: Offset: 0x10<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: L1<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Relocation {<br>
// CHECK-NEXT: Offset: 0x8<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: L0<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Relocation {<br>
// CHECK-NEXT: Offset: 0x0<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: L0<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: ]<br>
<br>
Modified: llvm/trunk/test/MC/MachO/AArch64/reloc-crash.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_MachO_AArch64_reloc-2Dcrash.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=J0WIBQZXwL5tPz6EBQmXoriRMItnL5VkK4zkbRFaHCs&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/AArch64/reloc-crash.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/MachO/AArch64/reloc-crash.s (original)<br>
+++ llvm/trunk/test/MC/MachO/AArch64/reloc-crash.s Mon Jun 22 12:52:52 2015<br>
@@ -10,7 +10,7 @@<br>
; CHECK-NEXT: PCRel: 0<br>
; CHECK-NEXT: Length: 3<br>
; CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)<br>
-; CHECK-NEXT: Symbol: Lbar<br>
+; CHECK-NEXT: Symbol: -<br>
; CHECK-NEXT: }<br>
; CHECK-NEXT: }<br>
; CHECK-NEXT: ]<br>
<br>
Modified: llvm/trunk/test/MC/MachO/x86_64-mergeable.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_MachO_x86-5F64-2Dmergeable.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=Be37gnJTdRGMeF6iRRZ1ajma5FC781mC4yh2KURSma8&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/x86_64-mergeable.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/MachO/x86_64-mergeable.s (original)<br>
+++ llvm/trunk/test/MC/MachO/x86_64-mergeable.s Mon Jun 22 12:52:52 2015<br>
@@ -24,7 +24,7 @@ L1:<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: X86_64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: L1<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Relocation {<br>
// CHECK-NEXT: Offset: 0x10<br>
@@ -38,7 +38,7 @@ L1:<br>
// CHECK-NEXT: PCRel: 0<br>
// CHECK-NEXT: Length: 3<br>
// CHECK-NEXT: Type: X86_64_RELOC_UNSIGNED (0)<br>
-// CHECK-NEXT: Symbol: L0<br>
+// CHECK-NEXT: Symbol: -<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Relocation {<br>
// CHECK-NEXT: Offset: 0x0<br>
<br>
Modified: llvm/trunk/test/MC/MachO/x86_64-symbols.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_MachO_x86-5F64-2Dsymbols.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=z90_wp3IYgseS743I1UAp2VtboAgDOeXZM4YGrGgJ9k&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/x86_64-symbols.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/MachO/x86_64-symbols.s (original)<br>
+++ llvm/trunk/test/MC/MachO/x86_64-symbols.s Mon Jun 22 12:52:52 2015<br>
@@ -130,7 +130,7 @@ D38:<br>
<br>
// CHECK: Symbols [<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D0 (139)<br>
+// CHECK-NEXT: Name: D0 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __text (0x1)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -139,7 +139,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D1 (128)<br>
+// CHECK-NEXT: Name: D1 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __text (0x1)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -148,7 +148,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D2 (113)<br>
+// CHECK-NEXT: Name: D2 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __const (0x2)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -157,7 +157,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D3 (98)<br>
+// CHECK-NEXT: Name: D3 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __static_const (0x3)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -166,7 +166,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: L4 (84)<br>
+// CHECK-NEXT: Name: (0)<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cstring (0x4)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -175,7 +175,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D4 (87)<br>
+// CHECK-NEXT: Name: D4 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cstring (0x4)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -184,7 +184,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D5 (69)<br>
+// CHECK-NEXT: Name: D5 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __literal4 (0x5)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -193,7 +193,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D6 (50)<br>
+// CHECK-NEXT: Name: D6 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __literal8 (0x6)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -202,7 +202,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D7 (31)<br>
+// CHECK-NEXT: Name: D7 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __literal16 (0x7)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -211,7 +211,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D8 (12)<br>
+// CHECK-NEXT: Name: D8 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __constructor (0x8)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -220,7 +220,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D9 (1)<br>
+// CHECK-NEXT: Name: D9 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __destructor (0x9)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -229,7 +229,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D12 (124)<br>
+// CHECK-NEXT: Name: D12 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __data (0xA)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -238,7 +238,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D13 (109)<br>
+// CHECK-NEXT: Name: D13 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __static_data (0xB)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -247,7 +247,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D16 (65)<br>
+// CHECK-NEXT: Name: D16 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __dyld (0xC)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -256,7 +256,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D17 (46)<br>
+// CHECK-NEXT: Name: D17 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __mod_init_func (0xD)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -265,7 +265,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D18 (27)<br>
+// CHECK-NEXT: Name: D18 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __mod_term_func (0xE)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -283,7 +283,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D20 (146)<br>
+// CHECK-NEXT: Name: D20 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __class (0x10)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -292,7 +292,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D21 (135)<br>
+// CHECK-NEXT: Name: D21 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __meta_class (0x11)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -301,7 +301,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D22 (120)<br>
+// CHECK-NEXT: Name: D22 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cat_cls_meth (0x12)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -310,7 +310,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D23 (105)<br>
+// CHECK-NEXT: Name: D23 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cat_inst_meth (0x13)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -319,7 +319,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D24 (94)<br>
+// CHECK-NEXT: Name: D24 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __protocol (0x14)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -328,7 +328,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D25 (80)<br>
+// CHECK-NEXT: Name: D25 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __string_object (0x15)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -337,7 +337,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D26 (61)<br>
+// CHECK-NEXT: Name: D26 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cls_meth (0x16)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -346,7 +346,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D27 (42)<br>
+// CHECK-NEXT: Name: D27 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __inst_meth (0x17)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -355,7 +355,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D28 (23)<br>
+// CHECK-NEXT: Name: D28 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cls_refs (0x18)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -364,7 +364,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D29 (4)<br>
+// CHECK-NEXT: Name: D29 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __message_refs (0x19)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -373,7 +373,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D30 (142)<br>
+// CHECK-NEXT: Name: D30 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __symbols (0x1A)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -382,7 +382,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D31 (131)<br>
+// CHECK-NEXT: Name: D31 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __category (0x1B)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -391,7 +391,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D32 (116)<br>
+// CHECK-NEXT: Name: D32 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __class_vars (0x1C)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -400,7 +400,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D33 (101)<br>
+// CHECK-NEXT: Name: D33 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __instance_vars (0x1D)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -409,7 +409,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D34 (90)<br>
+// CHECK-NEXT: Name: D34 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __module_info (0x1E)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -418,7 +418,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: L35 (72)<br>
+// CHECK-NEXT: Name: (0)<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cstring (0x4)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -427,7 +427,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D35 (76)<br>
+// CHECK-NEXT: Name: D35 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cstring (0x4)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -436,7 +436,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: L36 (53)<br>
+// CHECK-NEXT: Name: (0)<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cstring (0x4)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -445,7 +445,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D36 (57)<br>
+// CHECK-NEXT: Name: D36 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cstring (0x4)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -454,7 +454,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: L37 (34)<br>
+// CHECK-NEXT: Name: (0)<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cstring (0x4)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -463,7 +463,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D37 (38)<br>
+// CHECK-NEXT: Name: D37 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __cstring (0x4)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -472,7 +472,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: L38 (15)<br>
+// CHECK-NEXT: Name: (0)<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __selector_strs (0x1F)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
@@ -481,7 +481,7 @@ D38:<br>
// CHECK-NEXT: Value: 0x0<br>
// CHECK-NEXT: }<br>
// CHECK-NEXT: Symbol {<br>
-// CHECK-NEXT: Name: D38 (19)<br>
+// CHECK-NEXT: Name: D38 ({{.*}})<br>
// CHECK-NEXT: Type: Section (0xE)<br>
// CHECK-NEXT: Section: __selector_strs (0x1F)<br>
// CHECK-NEXT: RefType: UndefinedNonLazy (0x0)<br>
<br>
Modified: llvm/trunk/test/MC/Mips/cpsetup.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_Mips_cpsetup.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=ZokS9quuHSgSHg9zT6vIDGKZczwHxtEnShB1D6mGbHc&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/cpsetup.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/Mips/cpsetup.s (original)<br>
+++ llvm/trunk/test/MC/Mips/cpsetup.s Mon Jun 22 12:52:52 2015<br>
@@ -79,9 +79,9 @@ t2:<br>
<br>
# NXX: move $2, $gp<br>
# NXX: lui $gp, 0<br>
-# NXX: R_MIPS_GPREL16/R_MIPS_SUB/R_MIPS_HI16 $tmp0<br>
+# NXX: R_MIPS_GPREL16/R_MIPS_SUB/R_MIPS_HI16<br>
# NXX: addiu $gp, $gp, 0<br>
-# NXX: R_MIPS_GPREL16/R_MIPS_SUB/R_MIPS_LO16 $tmp0<br>
+# NXX: R_MIPS_GPREL16/R_MIPS_SUB/R_MIPS_LO16<br>
# N32: addu $gp, $gp, $25<br>
# N64: daddu $gp, $gp, $25<br>
# NXX: nop<br>
@@ -108,4 +108,4 @@ t3:<br>
<br>
# For .cpsetup with local labels, we need to check if $tmp0 is in the symbol<br>
# table:<br>
-# NXX: .text 00000000 $tmp0<br>
+# NXX: .text 00000000 {{$}}<br>
<br>
Modified: llvm/trunk/test/MC/Mips/elf-relsym.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_Mips_elf-2Drelsym.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=H3ihu95WqxOiloCL8r3-CZs1di0yA0EYiPiRO1XwN64&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/elf-relsym.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/Mips/elf-relsym.s (original)<br>
+++ llvm/trunk/test/MC/Mips/elf-relsym.s Mon Jun 22 12:52:52 2015<br>
@@ -4,16 +4,16 @@<br>
<br>
// CHECK: Symbols [<br>
// CHECK: Symbol {<br>
-// CHECK: Name: $.str<br>
+// CHECK: Name: (0)<br>
// CHECK: }<br>
// CHECK: Symbol {<br>
-// CHECK: Name: $.str1<br>
+// CHECK: Name: (0)<br>
// CHECK: }<br>
// CHECK: Symbol {<br>
-// CHECK: Name: $CPI0_0<br>
+// CHECK: Name: (0)<br>
// CHECK: }<br>
// CHECK: Symbol {<br>
-// CHECK: Name: $CPI0_1<br>
+// CHECK: Name: (0)<br>
// CHECK: }<br>
// CHECK: ]<br>
<br>
<br>
Modified: llvm/trunk/test/MC/Mips/xgot.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_Mips_xgot.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=Honz-tlWAst6BPFiMUra9zeyE4rlbxZlD0bvVzi88IU&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/xgot.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/Mips/xgot.s (original)<br>
+++ llvm/trunk/test/MC/Mips/xgot.s Mon Jun 22 12:52:52 2015<br>
@@ -10,8 +10,8 @@<br>
// CHECK: 0x1C R_MIPS_GOT_LO16 ext_1<br>
// CHECK: 0x24 R_MIPS_CALL_HI16 printf<br>
// CHECK: 0x30 R_MIPS_CALL_LO16 printf<br>
-// CHECK: 0x2C R_MIPS_GOT16 $.str<br>
-// CHECK: 0x38 R_MIPS_LO16 $.str<br>
+// CHECK: 0x2C R_MIPS_GOT16 -<br>
+// CHECK: 0x38 R_MIPS_LO16 -<br>
// CHECK: ]<br>
<br>
.text<br>
<br>
Modified: llvm/trunk/test/MC/Sparc/sparc-pic.s<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_test_MC_Sparc_sparc-2Dpic.s-3Frev-3D240302-26r1-3D240301-26r2-3D240302-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=IVB5M4fnK6dspkSpVRvuFryzFfBq9nFy0jR-PLFk-MI&s=nmCv0n9znQbEzaq3UDDMGoZbMPLFoGOc23fH8ZkqnbA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Sparc/sparc-pic.s?rev=240302&r1=240301&r2=240302&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/Sparc/sparc-pic.s (original)<br>
+++ llvm/trunk/test/MC/Sparc/sparc-pic.s Mon Jun 22 12:52:52 2015<br>
@@ -7,8 +7,8 @@<br>
! CHECK-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_PC10 _GLOBAL_OFFSET_TABLE_ 0x8<br>
! CHECK-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT22 AGlobalVar 0x0<br>
! CHECK-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT10 AGlobalVar 0x0<br>
-! CHECK-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT22 .LC0 0x0<br>
-! CHECK-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT10 .LC0 0x0<br>
+! CHECK-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT22 - 0x0<br>
+! CHECK-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_GOT10 - 0x0<br>
! CHECK-NEXT: 0x{{[0-9,A-F]+}} R_SPARC_WPLT30 bar 0x0<br>
! CHECK: ]<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div></div>
</blockquote></div>