commit | 4762a2da74875d2ae94e0d77d38ed964816cce36 | [log] [tgz] |
---|---|---|
author | Sebastian Pop <spop@codeaurora.org> | Mon Apr 16 04:16:43 2012 +0000 |
committer | Sebastian Pop <spop@codeaurora.org> | Mon Apr 16 04:16:43 2012 +0000 |
tree | 433f78df8383a207bda2e5c4813dae5d608ad5e6 | |
parent | e275a1845b9e32bd3034f2593dee1780855c8fd6 [diff] [blame] |
use DEFAULT_SYSROOT git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154792 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Compilation.cpp b/lib/Driver/Compilation.cpp index 42c8449..5553fc9 100644 --- a/lib/Driver/Compilation.cpp +++ b/lib/Driver/Compilation.cpp
@@ -230,3 +230,7 @@ Redirects[1] = new const llvm::sys::Path(); Redirects[2] = new const llvm::sys::Path(); } + +StringRef Compilation::getSysRoot(void) const { + return getDriver().SysRoot; +}