[lld] r176162 - fixing typo in header file

Shankar Easwaran shankare at codeaurora.org
Tue Feb 26 20:02:30 PST 2013


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))
 
 /// \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 {





More information about the llvm-commits mailing list