summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorFrancois Pichet <pichet2000@gmail.com>2012-06-20 04:08:49 +0000
committerFrancois Pichet <pichet2000@gmail.com>2012-06-20 04:08:49 +0000
commit5dc987a3d16bdedbda878755d22425de3fdd6534 (patch)
tree5de7e35b2c20be78d48dfb6d7c4ba0f187e6fccf /llvm/lib/Support
parentcda51d430d7215e1721da8d65c121e9c334baa9b (diff)
downloadbcm5719-llvm-5dc987a3d16bdedbda878755d22425de3fdd6534.tar.gz
bcm5719-llvm-5dc987a3d16bdedbda878755d22425de3fdd6534.zip
Unbreak the MSVC build: add return to unimplemented functions.
llvm-svn: 158788
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Windows/PathV2.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/Windows/PathV2.inc b/llvm/lib/Support/Windows/PathV2.inc
index c79d8ab0aa6..66eeab058f6 100644
--- a/llvm/lib/Support/Windows/PathV2.inc
+++ b/llvm/lib/Support/Windows/PathV2.inc
@@ -793,10 +793,12 @@ error_code detail::directory_iterator_increment(detail::DirIterState &it) {
error_code map_file_pages(const Twine &path, off_t file_offset, size_t size,
bool map_writable, void *&result) {
assert(0 && "NOT IMPLEMENTED");
+ return windows_error::invalid_function;
}
error_code unmap_file_pages(void *base, size_t size) {
assert(0 && "NOT IMPLEMENTED");
+ return windows_error::invalid_function;
}
OpenPOWER on IntegriCloud