summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ELFWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.h')
-rw-r--r--llvm/lib/CodeGen/ELFWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.h b/llvm/lib/CodeGen/ELFWriter.h
index b61b4848b65..db66ecc6dd8 100644
--- a/llvm/lib/CodeGen/ELFWriter.h
+++ b/llvm/lib/CodeGen/ELFWriter.h
@@ -191,7 +191,7 @@ namespace llvm {
ELFSection &getDtorSection();
ELFSection &getJumpTableSection();
ELFSection &getConstantPoolSection(MachineConstantPoolEntry &CPE);
- ELFSection &getTextSection(Function *F);
+ ELFSection &getTextSection(const Function *F);
ELFSection &getRelocSection(ELFSection &S);
// Helpers for obtaining ELF specific info.
OpenPOWER on IntegriCloud