]> git.saurik.com Git - apple/ld64.git/blobdiff - src/ld/LTOReader.hpp
ld64-97.17.tar.gz
[apple/ld64.git] / src / ld / LTOReader.hpp
index 9d00b006f3986d8f78421f98259ffb48e94cd29b..2e560cc15e0ef8db5479367bcd5bc4923709a1a2 100644 (file)
@@ -145,7 +145,7 @@ public:
        Scope                                                                           getScope() const                        { return (fRealAtom ? fRealAtom->getScope() : fScope); }
        DefinitionKind                                                          getDefinitionKind() const       { return (fRealAtom ? fRealAtom->getDefinitionKind() : fKind); }
        SymbolTableInclusion                                            getSymbolTableInclusion() const 
-                                                                                                                                                       { return fRealAtom->getSymbolTableInclusion(); }
+                                                                                                                                                       { return (fRealAtom ? fRealAtom->getSymbolTableInclusion() : ObjectFile::Atom::kSymbolTableIn); }
        bool                                                                            dontDeadStrip() const           { return false; }
        bool                                                                            isZeroFill() const                      { return (fRealAtom ? fRealAtom->isZeroFill() : false); }
        bool                                                                            isThumb() const                         { return false; }