mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 04:14:03 +08:00
Revert "[NFC] Improve FileSpec internal APIs and usage in preparation for adding caching of resolved/absolute." and follow-ups
This reverts commit9429b67b8e. It broke the build on Windows, see comments on https://reviews.llvm.org/D130309 It also reverts these follow-ups: Revert "Fix buildbot breakage after https://reviews.llvm.org/D130309." This reverts commitf959d815f4. Revert "Fix buildbot breakage after https://reviews.llvm.org/D130309." This reverts commit0bbce7a4c2. Revert "Cache the value for absolute path in FileSpec." This reverts commitdabe877248.
This commit is contained in:
@@ -2282,7 +2282,7 @@ void ObjectFileMachO::ParseSymtab(Symtab &symtab) {
|
||||
// Strip the path if there is @rpath, @executable, etc so we just use
|
||||
// the basename
|
||||
if (path[0] == '@')
|
||||
file_spec.ClearDirectory();
|
||||
file_spec.GetDirectory().Clear();
|
||||
|
||||
if (lc.cmd == LC_REEXPORT_DYLIB) {
|
||||
m_reexported_dylibs.AppendIfUnique(file_spec);
|
||||
|
||||
Reference in New Issue
Block a user