Displaying 15 results from an estimated 15 matches for "resize_fil".
Did you mean:
resize_file
2017 Oct 30
2
lld: sigbus error handling
...metimes hard to
> notice
> > that that was caused by the lack of disk space.
> >
> > I wonder if we should print out a hint (e.g. "Bus error -- disk full?")
> > when we receive a SIGBUS. Any opinions?
>
> I think we should change the llvm implementation of resize_file to fail
> if it cannot allocate the space. That is, it should only use ftruncate
> on OS X where apparently HFS allocates space with it.
>
> If resize_file fails than lld can fail gracefully or use annonymous
> memory and a plain write instead of mmap for producing the output.
>...
2017 Oct 23
8
lld: sigbus error handling
If your system does not support fallocate(2), we use ftruncate(2) to create
an output file. fallocate(2) succeeds even if your disk have less space
than the requested size, because it creates a sparse file. If you mmap such
sparse file, you'll receive a SIGBUS when the disk actually becomes full.
So, lld can die suddenly with SIGBUS when your disk becomes full, and
currently we are not doing
2017 Nov 09
10
Experiment on how to improve our temporary file handing.
Currently a power failure or other hard crash can cause lld leave a temporary
file around. The same is true for other llvm tools.
As an example, put a breakpoint in Writer.cpp:236 ("writeBuildId()") and
restart the run a few times. You will get
t.tmp43a735a t.tmp4deeabb t.tmp9bacdd3 t.tmpe4115c4 t.tmpeb01fff
The same would happen if there was a fatal error between the
2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...s library is modeled after. So we would
use:
error_code permissions(const Twine &path, perms p);
If the name is confusing (it says nothing about modification) I'm fine
with modify_permissions or something similar.
> unique_file_sized()
Instead of adding this I would much rather add resize_file and call it
after unique_file.
> map_file_pages()
> unmap_file_pages()
These are good.
> I've implemented the unix side for all these, but have the windows side just stubbed out.
>
> I've also added a test case (unittests/Support/FileOutputBufferTest.cpp) which exerci...
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:
2019 Aug 14
9
[9.0.0 Release] Release Candidate 2 is here
Hello everyone,
9.0.0-rc2 was tagged yesterday from the release_90 branch at r368683.
In the Git monorepo it's available as the llvmorg-9.0.0-rc2 tag.
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc2
Binaries will be added as they become available.
The tag went in roughly one week behind schedule (see "Upcoming
Releases" at https://llvm.org), but
2019 Jul 29
10
[9.0.0 Release] Release Candidate 1 is here
Hi everyone,
9.0.0-rc1 was just tagged from the release_90 branch at r367217
(tagged as llvmorg-9.0.0-rc1 in the Git monorepo).
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc1
Binaries will be added as they become available.
Please file bug reports for any issues you find as blockers of
https://llvm.org/PR42474
Release testers: please start your engines, run the
2019 Sep 13
4
[9.0.0 Release] Release Candidate 5 is here
Hello everyone,
9.0.0-rc5 was just tagged from the release_90 branch at r371837. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc5.
Source code and docs are available at
https://prereleases.llvm.org/9.0.0/#rc5 Binaries will be added as they
become available.
There is only a single change from rc4 to rc5. Once more, the hope is
that this will be the last release candidate and that we can
2019 Dec 14
5
LLVM 9.0.1-rc3 has been tagged
Hi,
I've just tagged LLVM 9.0.1-rc3. Testers can begin testing and uploading
binaries. This will be the last release candidate unless there is a
major problem. I'm planning to tag the final release on Dec 19.
-Tom
2019 Sep 10
15
[9.0.0 Release] Release Candidate 4 is here
Hello again,
9.0.0-rc4 was just tagged from the release_90 branch at r371490. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc4.
Source code and docs are available at
https://prereleases.llvm.org/9.0.0/#rc4 Binaries will be added as they
become available.
There are not a lot of changes from rc3 to rc4, and there are again no
open release blockers, so I'm hoping this will be the last
2019 Nov 23
5
LLVM 9.0.1-rc1 Release has been tagged
Hi,
I've tagged the LLVM 9.0.1-rc1 release. Testers can begin testing and upload
binaries. I've also updated the test-release.sh script to pull from GitHub
instead of SVN, if you run into any issues with the new script, let me know.
-Tom
2019 Dec 20
7
LLVM 9.0.1-final has been tagged
Hi,
I've just tagged the 9.0.1-final release. Testers can begin uploading binaries.
-Tom
2019 Aug 30
9
[9.0.0 Release] Release Candidate 3 is here
Hello everyone,
9.0.0-rc3 was tagged today from the release_90 branch at r370450. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc3.
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc3
Binaries will be added as they become available.
There are currently no open release blockers, which means if nothing
new comes up, the final release could ship soon and this is
2019 Dec 07
6
LLVM 9.0.1-rc2 has been tagged
Hi,
I've tagged LLVM 9.0.1-rc2. Testers can begin testing and uploading binaries.
If all goes well, this will be the last -rc.
-Tom
2019 Sep 17
18
[9.0.0 Release] Release Candidate 6 is here
Hello everyone,
9.0.0-rc6 was just tagged from the release_90 branch at r372100. In
the Git monorepo, it's tagged as llvmorg-9.0.0-rc6.
Source code and docs are available at https://prereleases.llvm.org/9.0.0/#rc6
This is the same as rc5 plus one very minor change (r371969) that
still seemed good to pick up.
I'm not allocating extra time for testing this one, expecting to tag