mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
A quick nm audit turned up several fixed tables and objects that were
marked read-write. Use const so that they can be allocated in a read-only segment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48800 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -265,7 +265,7 @@ public:
|
||||
|
||||
/// getAnchorString - Return a string used to label this descriptor's anchor.
|
||||
///
|
||||
static const char *AnchorString;
|
||||
static const char *const AnchorString;
|
||||
virtual const char *getAnchorString() const;
|
||||
|
||||
#ifndef NDEBUG
|
||||
@ -664,7 +664,7 @@ public:
|
||||
|
||||
/// getAnchorString - Return a string used to label this descriptor's anchor.
|
||||
///
|
||||
static const char *AnchorString;
|
||||
static const char *const AnchorString;
|
||||
virtual const char *getAnchorString() const;
|
||||
|
||||
#ifndef NDEBUG
|
||||
@ -701,7 +701,7 @@ public:
|
||||
|
||||
/// getAnchorString - Return a string used to label this descriptor's anchor.
|
||||
///
|
||||
static const char *AnchorString;
|
||||
static const char *const AnchorString;
|
||||
virtual const char *getAnchorString() const;
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
Reference in New Issue
Block a user