If an executable is run through a symlink, dladdr will return the
symlink. We really want the ultimate executable being run, not the symlink. This lets clang find its headers when invoked through a symlink. rdar://6602012 llvm-svn: 65017
Loading
Please register or sign in to comment