[Lldb-commits] [PATCH] D70887: [lldb] Use realpath to avoid issues with symlinks in source paths

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 2 09:11:51 PST 2019


clayborg added a comment.

Might be a better idea to realpath this once in the setup code instead of calling realpath thousands and thousands of times? Maybe we just santize "LLDB_TEST" and "LLDB_BUILD" one time with top level code like:

  os.environ["LLDB_TEST"] = os.path.realpath(os.environ["LLDB_TEST"])
  os.environ["LLDB_BUILD"] = os.path.realpath(os.environ["LLDB_BUILD"])




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D70887/new/

https://reviews.llvm.org/D70887





More information about the lldb-commits mailing list