[llvm] r200895 - don't set HasReliableSymbolDifference for ELF.
Jim Grosbach
grosbach at apple.com
Wed Feb 5 17:36:05 PST 2014
Don’t suppose there’s a behavioral difference that can be (ab)used to get a useful test case?
-Jim
On Feb 5, 2014, at 5:06 PM, Rafael Espindola <rafael.espindola at gmail.com> wrote:
> Author: rafael
> Date: Wed Feb 5 19:06:31 2014
> New Revision: 200895
>
> URL: http://llvm.org/viewvc/llvm-project?rev=200895&view=rev
> Log:
> don't set HasReliableSymbolDifference for ELF.
>
> It is only used in MachObjectWriter.cpp. Another leftover from early days
> of ELF in MC.
>
> Modified:
> llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
>
> Modified: llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp?rev=200895&r1=200894&r2=200895&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp (original)
> +++ llvm/trunk/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp Wed Feb 5 19:06:31 2014
> @@ -347,9 +347,7 @@ class ELFX86AsmBackend : public X86AsmBa
> public:
> uint8_t OSABI;
> ELFX86AsmBackend(const Target &T, uint8_t _OSABI, StringRef CPU)
> - : X86AsmBackend(T, CPU), OSABI(_OSABI) {
> - HasReliableSymbolDifference = true;
> - }
> + : X86AsmBackend(T, CPU), OSABI(_OSABI) {}
> };
>
> class ELFX86_32AsmBackend : public ELFX86AsmBackend {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list