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/MC/MCValue.h" 12 #include "llvm/Target/TargetMachine.h" 13 14 using namespace llvm; 15 16 const MCExpr *SystemZELFTargetObjectFile::getDebugThreadLocalSymbol( 17 const MCSymbol *Sym) const { 18 return MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext()); 19 } 20