HomePhabricator

Fix FileSpec to be able to understand Windows paths.

Description

Fix FileSpec to be able to understand Windows paths.

This patch adds the notion of a "path syntax" to FileSpec. There
are two syntaxes (Posix and Windows) and one "meta syntax",
Host Native, which uses the current platform to figure out the
appropriate syntax for host paths.

This allows paths from one platform to be represented and
manipulated on another platform even if they have different path
syntaxes.

Details

Committed
zturnerAug 7 2014, 10:33 AM
Parents
rL215122: llvm/test/tools/llvm-objdump: Reorganize target-dependent some tests.
Branches
Unknown
Tags
Unknown

Event Timeline