mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18: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:
@ -267,7 +267,7 @@ static bool EatsUnboundedNumberOfValues(const Option *O) {
|
||||
static void ParseCStringVector(std::vector<char *> &output,
|
||||
const char *input) {
|
||||
// Characters which will be treated as token separators:
|
||||
static const char *delims = " \v\f\t\r\n";
|
||||
static const char *const delims = " \v\f\t\r\n";
|
||||
|
||||
std::string work (input);
|
||||
// Skip past any delims at head of input string.
|
||||
|
Reference in New Issue
Block a user