diff options
author | Fangrui Song <maskray@google.com> | 2020-02-14 20:15:55 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-02-14 20:25:52 -0800 |
commit | 1dc16c752dd3dcd41ed320c2ea7647ea5bd7736e (patch) | |
tree | cb81d511e964c20893f9f6804b2c723ec24278fa /llvm/lib/Target/ARM/ARMTargetObjectFile.cpp | |
parent | 0fbe2215438b6598b4bc54c64812cab792ba5862 (diff) | |
download | llvm-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.cpp | 2 |
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); } } |