Skip to content
  • Bill Wendling's avatar
    Make some headway towards compiling all of LLVM. · 9ee2d338
    Bill Wendling authored
    Module-level ASM may contain definitions of functions and globals. However, we
    were not telling the linker that these globals had definitions. As far as it was
    concerned, they were just declarations.
    
    Attempt to resolve this by inserting module-level ASM functions and globals into
    the '_symbol' set so that the linker will know that they have values.
    
    This gets us further towards our goal of compiling LLVM, but it still has
    problems when linking libLTO.dylib because of the `-dead_strip' flag that's
    passed to the linker.
    
    <rdar://problem/11124216>
    
    llvm-svn: 153638
    9ee2d338
Loading