[lld] r176162 - fixing typo in header file

Matt Beaumont-Gay matthewbg at google.com
Tue Mar 5 14:01:06 PST 2013


On Tue, Feb 26, 2013 at 8:02 PM, Shankar Easwaran
<shankare at codeaurora.org> wrote:
> Author: shankare
> Date: Tue Feb 26 22:02:30 2013
> New Revision: 176162
>
> URL: http://llvm.org/viewvc/llvm-project?rev=176162&view=rev
> Log:
> fixing typo in header file
>
> Modified:
>     lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationFunctions.h
>     lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.cpp
>     lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.h
>
> Modified: lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationFunctions.h
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationFunctions.h?rev=176162&r1=176161&r2=176162&view=diff
> ==============================================================================
> --- lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationFunctions.h (original)
> +++ lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationFunctions.h Tue Feb 26 22:02:30 2013
> @@ -23,6 +23,9 @@ typedef struct {
>
>  #include "HexagonV4Encodings.h"
>
> +#define FINDV4BITMASK(INSN) findBitMask(*((uint32_t *)INSN), \
> +                            insn_encodings_v4, \
> +                            sizeof(insn_encodings_v4)/sizeof(Instruction))

This doesn't seem to match the commit message...

>
>  /// \brief finds the scatter Bits that need to be used to apply relocations
>  uint32_t findBitMask(uint32_t insn, Instruction *encodings, int32_t numInsns) {
>
> Modified: lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.cpp
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.cpp?rev=176162&r1=176161&r2=176162&view=diff
> ==============================================================================
> --- lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.cpp (original)
> +++ lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.cpp Tue Feb 26 22:02:30 2013
> @@ -10,6 +10,7 @@
>  #include "HexagonTargetHandler.h"
>  #include "HexagonTargetInfo.h"
>  #include "HexagonRelocationHandler.h"
> +#include "HexagonRelocationFunctions.h"
>
>
>  using namespace lld;
>
> Modified: lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.h
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.h?rev=176162&r1=176161&r2=176162&view=diff
> ==============================================================================
> --- lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.h (original)
> +++ lld/trunk/lib/ReaderWriter/ELF/Hexagon/HexagonRelocationHandler.h Tue Feb 26 22:02:30 2013
> @@ -6,11 +6,10 @@
>  // License. See LICENSE.TXT for details.
>  //
>  //===----------------------------------------------------------------------===//
> -#ifndef LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_FUNCTIONS_H
> -#define LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_FUNCTIONS_H
> +#ifndef LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_HANDLER_H
> +#define LLD_READER_WRITER_ELF_HEXAGON_RELOCATION_HANDLER_H
>
>  #include "HexagonTargetHandler.h"
> -#include "HexagonRelocationFunctions.h"
>  #include "lld/ReaderWriter/RelocationHelperFunctions.h"
>
>  namespace lld {
>
>
> _______________________________________________
> 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