aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-02-14 20:15:55 -0800
committerFangrui Song <maskray@google.com>2020-02-14 20:25:52 -0800
commit1dc16c752dd3dcd41ed320c2ea7647ea5bd7736e (patch)
treecb81d511e964c20893f9f6804b2c723ec24278fa /llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
parent0fbe2215438b6598b4bc54c64812cab792ba5862 (diff)
downloadllvm-1dc16c752dd3dcd41ed320c2ea7647ea5bd7736e.zip
llvm-1dc16c752dd3dcd41ed320c2ea7647ea5bd7736e.tar.gz
llvm-1dc16c752dd3dcd41ed320c2ea7647ea5bd7736e.tar.bz2
[MC] Add MCSection::NonUniqueID and delete one MCContext::getELFSection overload
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetObjectFile.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp b/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
index 891329d..3f0e336 100644
--- a/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp
@@ -49,7 +49,7 @@ void ARMElfTargetObjectFile::Initialize(MCContext &Ctx,
// Since we cannot modify flags for an existing section, we create a new
// section with the right flags, and use 0 as the unique ID for
// execute-only text
- TextSection = Ctx.getELFSection(".text", Type, Flags, 0, "", 0U);
+ TextSection = Ctx.getELFSection(".text", Type, Flags, 0, "", 0U, nullptr);
}
}