comparison lib/CodeGen/AsmPrinter/AddressPool.cpp @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 1172e4bd9c6f
children 3a76565eade5
comparison
equal deleted inserted replaced
120:1172e4bd9c6f 121:803732b1fca8
1 //===-- llvm/CodeGen/AddressPool.cpp - Dwarf Debug Framework ---*- C++ -*--===// 1 //===- llvm/CodeGen/AddressPool.cpp - Dwarf Debug Framework ---------------===//
2 // 2 //
3 // The LLVM Compiler Infrastructure 3 // The LLVM Compiler Infrastructure
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 9
10 #include "AddressPool.h" 10 #include "AddressPool.h"
11 #include "llvm/ADT/SmallVector.h"
11 #include "llvm/CodeGen/AsmPrinter.h" 12 #include "llvm/CodeGen/AsmPrinter.h"
13 #include "llvm/IR/DataLayout.h"
12 #include "llvm/MC/MCStreamer.h" 14 #include "llvm/MC/MCStreamer.h"
13 #include "llvm/Target/TargetLoweringObjectFile.h" 15 #include "llvm/Target/TargetLoweringObjectFile.h"
16 #include <utility>
14 17
15 using namespace llvm; 18 using namespace llvm;
16 19
17 unsigned AddressPool::getIndex(const MCSymbol *Sym, bool TLS) { 20 unsigned AddressPool::getIndex(const MCSymbol *Sym, bool TLS) {
18 HasBeenUsed = true; 21 HasBeenUsed = true;