20 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9#include "SystemZTargetObjectFile.h"10#include "MCTargetDesc/SystemZMCAsmInfo.h"11#include "llvm/MC/MCExpr.h"12#include "llvm/Target/TargetMachine.h"13 14using namespace llvm;15 16const MCExpr *SystemZELFTargetObjectFile::getDebugThreadLocalSymbol(17 const MCSymbol *Sym) const {18 return MCSymbolRefExpr::create(Sym, SystemZ::S_DTPOFF, getContext());19}20