1*0fca6ea1SDimitry Andric //===-- SystemZTargetObjectFile.cpp - SystemZ Object Info -----------------===// 2*0fca6ea1SDimitry Andric // 3*0fca6ea1SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*0fca6ea1SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5*0fca6ea1SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*0fca6ea1SDimitry Andric // 7*0fca6ea1SDimitry Andric //===----------------------------------------------------------------------===// 8*0fca6ea1SDimitry Andric 9*0fca6ea1SDimitry Andric #include "SystemZTargetObjectFile.h" 10*0fca6ea1SDimitry Andric #include "llvm/MC/MCExpr.h" 11*0fca6ea1SDimitry Andric #include "llvm/MC/MCValue.h" 12*0fca6ea1SDimitry Andric #include "llvm/Target/TargetMachine.h" 13*0fca6ea1SDimitry Andric 14*0fca6ea1SDimitry Andric using namespace llvm; 15*0fca6ea1SDimitry Andric 16*0fca6ea1SDimitry Andric const MCExpr *SystemZELFTargetObjectFile::getDebugThreadLocalSymbol( 17*0fca6ea1SDimitry Andric const MCSymbol *Sym) const { 18*0fca6ea1SDimitry Andric return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext()); 19*0fca6ea1SDimitry Andric } 20