search for: log2siz

Displaying 2 results from an estimated 2 matches for "log2siz".

Did you mean: log2size
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...64Bit*/ true, CPUType, CPUSubtype, + /* aggressive symbol folding */ true) {} + +AArch64MachOObjectWriter::~AArch64MachOObjectWriter() {} + +static bool getARMFixupKindMachOInfo(unsigned Kind, unsigned &RelocType, + unsigned &Log2Size) { + RelocType = unsigned(MachO::ARM64_RELOC_UNSIGNED); + Log2Size = ~0U; + + AArch64::Fixups realKind = (AArch64::Fixups)Kind; + switch (Kind) { + default: + return false; + + case FK_Data_1: + Log2Size = llvm::Log2_32(1); + return true; + case FK_Data_2: + Log2Size = llvm::Log...
2010 Aug 16
1
[LLVMdev] [PATCH] fix "32-bit shift" warning in MSVC
...================== --- lib/MC/MachObjectWriter.cpp (revision 111120) +++ lib/MC/MachObjectWriter.cpp (working copy) @@ -769,7 +769,7 @@ IsPCRel = 1; FixedValue = (FixupAddress - Layout.getSymbolAddress(SD_B) + Target.getConstant()); - FixedValue += 1 << Log2Size; + FixedValue += static_cast<uint64_t>(1) << Log2Size; } else { FixedValue = 0; } -------------- next part -------------- A non-text attachment was scrubbed... Name: fix-32bit-warning.patch Type: text/x-patch Size: 491 bytes Desc: not available URL: <http://lis...