mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
on darwin<10, fallback to .weak_definition (PPC,X86)
.weak_def_can_be_hidden was not yet supported by the system assembler git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196970 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -270,6 +270,10 @@ namespace llvm {
|
||||
/// defined symbol.
|
||||
bool HasWeakDefDirective; // Defaults to false.
|
||||
|
||||
/// True if we have a directive to declare a global as being a weak
|
||||
/// defined symbol that can be hidden (unexported).
|
||||
bool HasWeakDefCanBeHiddenDirective; // Defaults to false.
|
||||
|
||||
/// True if we have a .linkonce directive. This is used on cygwin/mingw.
|
||||
bool HasLinkOnceDirective; // Defaults to false.
|
||||
|
||||
@@ -501,6 +505,9 @@ namespace llvm {
|
||||
bool hasNoDeadStrip() const { return HasNoDeadStrip; }
|
||||
const char *getWeakRefDirective() const { return WeakRefDirective; }
|
||||
bool hasWeakDefDirective() const { return HasWeakDefDirective; }
|
||||
bool hasWeakDefCanBeHiddenDirective() const {
|
||||
return HasWeakDefCanBeHiddenDirective;
|
||||
}
|
||||
bool hasLinkOnceDirective() const { return HasLinkOnceDirective; }
|
||||
|
||||
MCSymbolAttr getHiddenVisibilityAttr() const { return HiddenVisibilityAttr;}
|
||||
|
Reference in New Issue
Block a user