mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-24 07:35:04 +00:00
Target: Replace getSection().empty() with hasSection()
No functional change, just a small cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3395f5fca8
commit
575fc08c48
@ -62,7 +62,7 @@ static bool isSuitableForBSS(const GlobalVariable *GV, bool NoZerosInBSS) {
|
||||
return false;
|
||||
|
||||
// If the global has an explicit section specified, don't put it in BSS.
|
||||
if (!GV->getSection().empty())
|
||||
if (GV->hasSection())
|
||||
return false;
|
||||
|
||||
// If -nozero-initialized-in-bss is specified, don't ever use BSS.
|
||||
|
Loading…
x
Reference in New Issue
Block a user