You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.207
Former-commit-id: 3b152f462918d427ce18620a2cbe4f8b79650449
This commit is contained in:
parent
8e12397d70
commit
eb85e2fc17
22
external/llvm/lib/DebugInfo/CodeView/Line.cpp
vendored
22
external/llvm/lib/DebugInfo/CodeView/Line.cpp
vendored
@ -1,22 +0,0 @@
|
||||
//===-- Line.cpp ----------------------------------------------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/DebugInfo/CodeView/Line.h"
|
||||
|
||||
using namespace llvm;
|
||||
using namespace codeview;
|
||||
|
||||
LineInfo::LineInfo(uint32_t StartLine, uint32_t EndLine, bool IsStatement) {
|
||||
LineData = StartLine & StartLineMask;
|
||||
uint32_t LineDelta = EndLine - StartLine;
|
||||
LineData |= (LineDelta << EndLineDeltaShift) & EndLineDeltaMask;
|
||||
if (IsStatement) {
|
||||
LineData |= StatementFlag;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user