Skip to content
  • Rui Ueyama's avatar
    Add a pointer to a source file to SymbolBody. · 434b5617
    Rui Ueyama authored
    Previously, each subclass of SymbolBody had a pointer to a source
    file from which it was created. So, there was no single way to get
    a source file for a symbol. We had getSourceFile<ELFT>(), but the
    function was a bit inconvenient as it's a template.
    
    This patch makes SymbolBody have a pointer to a source file.
    If a symbol is not created from a file, the pointer has a nullptr.
    
    llvm-svn: 275701
    434b5617
Loading