[lldb-dev] FileSpec changes fallout and questions

Greg Clayton gclayton at apple.com
Wed Mar 11 14:30:24 PDT 2015


FileSpec was changed a while back and currently if we make call like:

FileSpec tmp("/tmp", false);

will result in a m_filename that contains "." and a m_directory that contains "/tmp". Is this expected? 

If so we should to change:

void
FileSpec::AppendPathComponent (const char *new_path);

to not make the path be "/tmp/./<new_path>"...

Greg



More information about the lldb-dev mailing list