Displaying 4 results from an estimated 4 matches for "temppath".
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
2008 Jan 17
2
Inconsistent Model creation behavior
...set_worker_name :imagetest_worker
def create(args = nil)
end
def save_image(args)
@newbook = Book.new
@newbook.comment = "hello"
@newbook.save
14 @newerimage = Image.new
15 @newerimage.user_id = args[:user_id]
16 @newerimage.uploaded_data = args[:temppath]
@newerimage.save
end
end
#####################################################################################
It will create and save the Book object without problems. However, it
will not create the Image object and instead I receive this error:
##############################...
2012 May 18
0
[LLVMdev] [RFC] llvm/include/Support/FileOutputBuffer.h
...+
> +
> +protected:
> + FileOutputBuffer(const FileOutputBuffer &); // DO NOT IMPLEMENT
> + FileOutputBuffer &operator=(const FileOutputBuffer &); // DO NOT IMPLEMENT
> + FileOutputBuffer(uint8_t *start, uint8_t *end,
> + StringRef path, StringRef tempPath);
> +
> + uint8_t *bufferStart;
> + uint8_t *bufferEnd;
> + SmallString<128> finalPath;
> + SmallString<128> tempPath;
These should all start with an uppercase letter.
> +};
> +
> +
> +
> +} // end namespace llvm
> +
>...
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: