Fix Windows/Darwin build error in DebugIR unit tests
authorDaniel Malea <daniel.malea@intel.com>
Fri, 28 Jun 2013 21:49:53 +0000 (21:49 +0000)
committerDaniel Malea <daniel.malea@intel.com>
Fri, 28 Jun 2013 21:49:53 +0000 (21:49 +0000)
commit9e638df937b66e4313445163e069623b72b86f9a
tree6b1d88a1957b212ec3f9762892e599425bd5fcd3
parent40d8171e3e74f4786d89a8f1fb370653f81c7941
Fix Windows/Darwin build error in DebugIR unit tests
- mistakenly used get_current_dir() linux function
- replaced with getcwd/_getcwd as appropriate for current platform

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185225 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Transforms/DebugIR/DebugIR.cpp