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