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
14using namespace llvm;
15
16const MCExpr *SystemZELFTargetObjectFile::getDebugThreadLocalSymbol(
17 const MCSymbol *Sym) const {
18 return MCSymbolRefExpr::create(Symbol: Sym, Kind: MCSymbolRefExpr::VK_DTPOFF, Ctx&: getContext());
19}
20

source code of llvm/lib/Target/SystemZ/SystemZTargetObjectFile.cpp