diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-16 06:04:17 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2015-07-16 06:04:17 +0000 |
| commit | 5c0fa58e91cffdc0b7a1024890533942876d5691 (patch) | |
| tree | c8791793e9627ea490fb0d42f5e209ba808d5978 /llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h | |
| parent | 1660cab341ab154e7b0b70eee132be3a646c3ff7 (diff) | |
| download | bcm5719-llvm-5c0fa58e91cffdc0b7a1024890533942876d5691.tar.gz bcm5719-llvm-5c0fa58e91cffdc0b7a1024890533942876d5691.zip | |
Remove DataLayout from TargetLoweringObjectFile, redirect to Module
Summary:
This change is part of a series of commits dedicated to have a single
DataLayout during compilation by using always the one owned by the
module.
Reviewers: echristo
Subscribers: yaron.keren, rafael, llvm-commits, jholewinski
Differential Revision: http://reviews.llvm.org/D11079
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 242385
Diffstat (limited to 'llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h')
| -rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h b/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h index 5ecdc874883..a17d1b9fdae 100644 --- a/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h +++ b/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h @@ -84,7 +84,7 @@ public: new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); } - MCSection *getSectionForConstant(SectionKind Kind, + MCSection *getSectionForConstant(const DataLayout &DL, SectionKind Kind, const Constant *C) const override { return ReadOnlySection; } |

