search for: system_category

Displaying 20 results from an estimated 29 matches for "system_category".

2017 Feb 16
3
Linker error with XRay & GCC/libstdc++ 6.1
...gnu/6.1.0/../../../../include/c++/6.1.0/system_error:197: error: undefined reference to 'std::_V2::generic_category()' /usr/local/google/home/blaikie/install/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.0/../../../../include/c++/6.1.0/system_error:141: error: undefined reference to 'std::_V2::system_category()' /usr/local/google/home/blaikie/install/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.0/../../../../include/c++/6.1.0/system_error:141: error: undefined reference to 'std::_V2::system_category()' /usr/local/google/home/blaikie/install/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.0/../../../../incl...
2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...result_path.push_back('\0'); This is incorrect because result_path now actually includes a \0. I added a function c_str(container) specifically for this case that adds a 0 then removes it. > + ::unlink(result_path.begin()); > + ::close(fd); > + return error_code(error, system_category()); > + } > + > + ::close(fd); > + > + return error_code::success(); > +} > + > + > error_code detail::directory_iterator_construct(detail::DirIterState &it, > StringRef path){ > SmallString<128> path...
2012 May 17
3
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
I now have an implementation of FileOutputBuffer (OutputBuffer was already taken). The patch supports the functionality listed below and I've tested that it works for lld. -------------- next part -------------- A non-text attachment was scrubbed... Name: FileOutputBuffer.patch Type: application/octet-stream Size: 25308 bytes Desc: not available URL:
2012 Jun 19
0
[LLVMdev] llvm/include/Support/FileSystem.h
This is a proposed patch to enhance FileSystem.h to add functionality (getting and setting permission bits and mapping an unmapping files). This implementation follows the N3365 proposal regarding permission bits. This functionality is needed for my next patch which will implement llvm/include/Support/FileOutputBuffer.h which is needed by lld. -------------- next part -------------- A
2017 Jun 04
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
On Sat, 3 Jun 2017 16:04:57 -0700 Tim Northover <t.p.northover at gmail.com> wrote: [snip] > I think you should be able to fix it by changing the > compiler-rt/lib/xray/test/CMakeLists.txt. If you find the > "add_compiler_rt_test" call and move "-lstdc++" to the end, just after > "-lrt" it should work. Thanks, Tim. I don't see "-lrt":
2012 May 18
2
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
On Fri, May 18, 2012 at 3:07 PM, Michael Spencer <bigcheesegs at gmail.com> wrote: > >> +  error_code ec = sys::fs::status(filePathTwine, stat); > > stat is undefined if ec isn't success. ec will be success even in the case of > file_not_found. Actually I was wrong. The Windows and UNIX implementation disagree on this point. I'm going to change it to match
2014 Mar 14
2
[LLVMdev] Users of llvm::error_code all inherit from _do_message
There are several libraries in LLVM that create their own `error_code` categories, so that they can return errors in a consistent way and with convenient messages. To do this, these libraries create an error category type that inherits from `_do_message` in system_error.h. There are a number of ways that this is wrong: 1. From the name, it's quite clear that _do_message is an implementation
2017 Jun 03
2
building llvm_Rel400 on Scientific Linux (RHEL) 7.3 x86_64
...to `std::_V2::generic_category()' /home/hanzer/build/build_llvm/./lib/clang/4.0.0/lib/linux/libclang_rt.xray-fdr-x86_64.a(xray_buffer_queue.cc.o): In function `std::error_code::error_code()': /opt/rh/devtoolset-6/root/usr/include/c++/6.2.1/system_error:141: undefined reference to `std::_V2::system_category()' /home/hanzer/build/build_llvm/./lib/clang/4.0.0/lib/linux/libclang_rt.xray-fdr-x86_64.a(xray_buffer_queue.cc.o): In function `std::make_error_code(std::errc)': /opt/rh/devtoolset-6/root/usr/include/c++/6.2.1/system_error:197: undefined reference to `std::_V2::generic_category()' /hom...
2018 Mar 22
4
[pre-RFC] Data races in concurrent ThinLTO processes
...AME_DEVICE'. + // Wine doesn't support SetFileInformationByHandle in rename_internal. + // Rename_internal doesn't work accross different disks. In both of these + // cases fall back to using MoveFileEx. if (EC == - std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category())) { - // Wine doesn't support SetFileInformationByHandle in rename_internal. - // Fall back to MoveFileEx. + std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category()) || + EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) { SmallVec...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...support SetFileInformationByHandle in > rename_internal.* > *+ // Rename_internal doesn't work accross different disks. In both of > these* > *+ // cases fall back to using MoveFileEx.* > * if (EC ==* > *- std::error_code(ERROR_CALL_NOT_IMPLEMENTED, > std::system_category())) {* > *- // Wine doesn't support SetFileInformationByHandle in > rename_internal.* > *- // Fall back to MoveFileEx.* > *+ std::error_code(ERROR_CALL_NOT_IMPLEMENTED, > std::system_category()) ||* > *+ EC == std::error_code(ERROR_NOT_SAME_DEVICE, >...
2018 Mar 22
0
[pre-RFC] Data races in concurrent ThinLTO processes
...// Wine doesn't support SetFileInformationByHandle in rename_internal. > + // Rename_internal doesn't work accross different disks. In both of these > + // cases fall back to using MoveFileEx. > if (EC == > - std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category())) { > - // Wine doesn't support SetFileInformationByHandle in rename_internal. > - // Fall back to MoveFileEx. > + std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category()) || > + EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category()...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...n't support SetFileInformationByHandle in rename_internal. >> + // Rename_internal doesn't work accross different disks. In both of these >> + // cases fall back to using MoveFileEx. >> if (EC == >> - std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category())) { >> - // Wine doesn't support SetFileInformationByHandle in rename_internal. >> - // Fall back to MoveFileEx. >> + std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category()) || >> + EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::s...
2018 Dec 11
2
Using LLD to link against third-party libraries? How?
...nk: warning: C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o: locally defined symbol imported: _CxxThrowException (defined in libvcruntime.lib(throw.obj)) [LNK4217]​ lld-link: error: undefined symbol: "class boost::system::error_category const & __cdecl boost::system::detail::system_category_ncx(void)" (?system_category_ncx at detail@system at boost@@YAAEBVerror_category at 23@XZ)​ >>> referenced by C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?syste...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...AME_DEVICE'. + // Wine doesn't support SetFileInformationByHandle in rename_internal. + // Rename_internal doesn't work accross different disks. In both of these + // cases fall back to using MoveFileEx. if (EC == - std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category())) { - // Wine doesn't support SetFileInformationByHandle in rename_internal. - // Fall back to MoveFileEx. + std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category()) || + EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) { SmallVec...
2018 Dec 11
3
Using LLD to link against third-party libraries? How?
...an\AppData\Local\Temp\currency_converter-264ae1.o: locally > defined symbol imported: _CxxThrowException (defined in > libvcruntime.lib(throw.obj)) [LNK4217]​ > lld-link: error: undefined symbol: "class > boost::system::error_category const & __cdecl > boost::system::detail::system_category_ncx(void)" > (?system_category_ncx at detail@system at boost@@YAAEBVerror_category at 23@XZ)​ >>>> referenced by > C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("class > boost::system::error_category const & __cdecl > boost::system::system_cate...
2018 Mar 27
4
[pre-RFC] Data races in concurrent ThinLTO processes
...AME_DEVICE'. + // Wine doesn't support SetFileInformationByHandle in rename_internal. + // Rename_internal doesn't work accross different disks. In both of these + // cases fall back to using MoveFileEx. if (EC == - std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category())) { - // Wine doesn't support SetFileInformationByHandle in rename_internal. - // Fall back to MoveFileEx. + std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category()) || + EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) { SmallVec...
2018 Dec 12
2
Using LLD to link against third-party libraries? How?
...rency_converter-264ae1.o: locally > > defined symbol imported: _CxxThrowException (defined in > > libvcruntime.lib(throw.obj)) [LNK4217]​ > > lld-link: error: undefined symbol: "class > > boost::system::error_category const & __cdecl > > boost::system::detail::system_category_ncx(void)" > > (?system_category_ncx at detail@system at boost@@YAAEBVerror_category at 23@XZ)​ > >>>> referenced by > > C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("class > > boost::system::error_category const & __cdecl > > b...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...rmationByHandle in > rename_internal.* > > *+ // Rename_internal doesn't work accross different disks. In both of > these* > > *+ // cases fall back to using MoveFileEx.* > > * if (EC ==* > > *- std::error_code(ERROR_CALL_NOT_IMPLEMENTED, > std::system_category())) {* > > *- // Wine doesn't support SetFileInformationByHandle in > rename_internal.* > > *- // Fall back to MoveFileEx.* > > *+ std::error_code(ERROR_CALL_NOT_IMPLEMENTED, > std::system_category()) ||* > > *+ EC == std::error_code(ERROR_N...
2018 Dec 12
3
Using LLD to link against third-party libraries? How?
...an\AppData\Local\Temp\currency_converter-264ae1.o: locally > defined symbol imported: _CxxThrowException (defined in > libvcruntime.lib(throw.obj)) [LNK4217]​ > lld-link: error: undefined symbol: "class > boost::system::error_category const & __cdecl > boost::system::detail::system_category_ncx(void)" > (?system_category_ncx at detail@system at boost@@YAAEBVerror_category at 23@XZ)​ >>>> referenced by > C:\Users\Osman\AppData\Local\Temp\currency_converter-264ae1.o:("class > boost::system::error_category const & __cdecl > boost::system::system_cate...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...AME_DEVICE'. + // Wine doesn't support SetFileInformationByHandle in rename_internal. + // Rename_internal doesn't work accross different disks. In both of these + // cases fall back to using MoveFileEx. if (EC == - std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category())) { - // Wine doesn't support SetFileInformationByHandle in rename_internal. - // Fall back to MoveFileEx. + std::error_code(ERROR_CALL_NOT_IMPLEMENTED, std::system_category()) || + EC == std::error_code(ERROR_NOT_SAME_DEVICE, std::system_category())) { SmallVec...