mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Unnamed symbol index should be >= 1. This was lost during the mangler refactoring. Fixes PR6067.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93724 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e7e2f5a36
commit
971fd79067
@ -49,7 +49,7 @@ private:
|
||||
public:
|
||||
// Mangler ctor - if a prefix is specified, it will be prepended onto all
|
||||
// symbols.
|
||||
Mangler(const MCAsmInfo &mai) : MAI(mai), NextAnonGlobalID(0) {}
|
||||
Mangler(const MCAsmInfo &mai) : MAI(mai), NextAnonGlobalID(1) {}
|
||||
|
||||
/// getNameWithPrefix - Fill OutName with the name of the appropriate prefix
|
||||
/// and the specified global variable's name. If the global variable doesn't
|
||||
|
Loading…
x
Reference in New Issue
Block a user