Displaying 14 results from an estimated 14 matches for "gettemporarydirectory".
2012 May 29
1
[LLVMdev] [cfe-commits] r157260 - in /cfe/trunk: include/clang/Rewrite/Rewriter.h lib/Rewrite/Rewriter.cpp unittests/CMakeLists.txt unittests/Tooling/RewriterTest.cpp unittests/Tooling/RewriterTestContext.h
Manuel,
After the discussion at last night, I have agreed that
GetTemporaryDirectory() on Win32 would do bad thing, thank you.
dir = GetTemporaryDirectory();
dir.eraseFromDisk(erase_contents = true);
dir = GetTemporaryDirectory(); /* It doesn't create anything on Win32
due to caching */
I suppose Manuel wants GetTemporaryDirectory() to keep semantics
similar mkdtemp(3).
Thou...
2010 Aug 22
2
[LLVMdev] Error Building LLVM on AIX 6
...following problem building LLVM 2.7 on AIX 6:
gmake[1]: Entering directory
`/home/home/ac/psimmons/llvm/llvm-2.7/lib/System'
llvm[1]: Compiling Path.cpp for Release build
In file included from Path.cpp:262:
Unix/Path.inc: In static member function 'static llvm::sys::Path
llvm::sys::Path::GetTemporaryDirectory(std::string*)':
Unix/Path.inc:142: error: 'mkdtemp' was not declared in this scope
Unix/Path.inc: In static member function 'static llvm::sys::Path
llvm::sys::Path::GetMainExecutable(const char*, void*)':
Unix/Path.inc:365: error: 'Dl_info' was not declared in this scop...
2010 Jul 08
0
[LLVMdev] passing parameters for a analysis pass
You can use llvm::sys::Path::GetTemporaryDirectory() and put the
inputs and outputs there.
Reid
On Wed, Jul 7, 2010 at 4:23 PM, Guoliang Jin <jingl1345 at gmail.com> wrote:
> Hi,
>
> I want to pass parameter to a analysis pass. My pass need to use some
> result from some other tools. I can hard code a file name into my pass,
&g...
2004 Aug 30
0
[LLVMdev] lib/System Unleashed - Need Your Help!
...lib/System, the operating system independence layer.
FYI, I'm getting this on an up-to-date tree:
Compiling Path.cpp
In file included from platform/Path.cpp:20,
from Path.cpp:37:
platform/../Unix/Path.cpp: In static member function `static llvm::sys::Path
llvm::sys::Path::GetTemporaryDirectory()':
platform/../Unix/Path.cpp:54: error: `assert' undeclared (first use this
function)
I think you need to include assert.h in Path.cpp.
- Volodya
2004 Sep 01
0
[LLVMdev] POSIX compliance
/lib/System/platform/Path.cpp is not compilable under Cygwin
(although it was motivated to be for Cygwin...):
-----------------------------------
Compiling Path.cpp
In file included from Path.cpp:37:
platform/Path.cpp: In static member function `static llvm::sys::Path
llvm::sys::Path::GetTemporaryDirectory()':
platform/Path.cpp:41: error: `mkdtemp' undeclared (first use this function)
-----------------------------------
The problem is probably that mkdtemp is not POSIX:
https://catamaran.labs.cs.uu.nl/jira/browse/STR-134?page=all
BTW, another problem I got under cygwin is absence of 'pa...
2010 Jul 07
3
[LLVMdev] passing parameters for a analysis pass
Hi,
I want to pass parameter to a analysis pass. My pass need to use some
result from some other tools. I can hard code a file name into my pass,
and let my pass read input there, but what if I do not want the file
name to be hard coded?
Is it possible to do that? If yes, where can I find some documentation
about it?
Thanks,
Guoliang
2010 Aug 22
0
[LLVMdev] Error Building LLVM on AIX 6
...on AIX 6:
>
> gmake[1]: Entering directory
> `/home/home/ac/psimmons/llvm/llvm-2.7/lib/System'
> llvm[1]: Compiling Path.cpp for Release build
> In file included from Path.cpp:262:
> Unix/Path.inc: In static member function 'static llvm::sys::Path
> llvm::sys::Path::GetTemporaryDirectory(std::string*)':
> Unix/Path.inc:142: error: 'mkdtemp' was not declared in this scope
> Unix/Path.inc: In static member function 'static llvm::sys::Path
> llvm::sys::Path::GetMainExecutable(const char*, void*)':
> Unix/Path.inc:365: error: 'Dl_info' was not d...
2010 Aug 23
1
[LLVMdev] Error Building LLVM on AIX 6
...; gmake[1]: Entering directory
>> `/home/home/ac/psimmons/llvm/llvm-2.7/lib/System'
>> llvm[1]: Compiling Path.cpp for Release build
>> In file included from Path.cpp:262:
>> Unix/Path.inc: In static member function 'static llvm::sys::Path
>> llvm::sys::Path::GetTemporaryDirectory(std::string*)':
>> Unix/Path.inc:142: error: 'mkdtemp' was not declared in this scope
>> Unix/Path.inc: In static member function 'static llvm::sys::Path
>> llvm::sys::Path::GetMainExecutable(const char*, void*)':
>> Unix/Path.inc:365: error: 'Dl_inf...
2004 Aug 29
6
[LLVMdev] lib/System Unleashed - Need Your Help!
Folks,
With some MacOS help from Nate, I've begun the conversion of LLVM to use
lib/System, the operating system independence layer. Currently, the
library has implementations for three abstractions: Path, Program, and
Signals. These provide some basic utilities for manipulating file system
paths, finding and executing programs, and cleaning up after Signals.
The implementations should work
2004 Sep 01
1
[LLVMdev] POSIX compliance
...Path.cpp is not compilable under Cygwin
> (although it was motivated to be for Cygwin...):
> -----------------------------------
> Compiling Path.cpp
> In file included from Path.cpp:37:
> platform/Path.cpp: In static member function `static llvm::sys::Path
> llvm::sys::Path::GetTemporaryDirectory()':
> platform/Path.cpp:41: error: `mkdtemp' undeclared (first use this function)
> -----------------------------------
>
> The problem is probably that mkdtemp is not POSIX:
> https://catamaran.labs.cs.uu.nl/jira/browse/STR-134?page=all
>
> BTW, another problem I got...
2004 Sep 19
1
[LLVMdev] Path.cpp patch to lib/System/Interix
Hi,
Just a minor fix to get Path.cpp to compile on Interix.
Henrik
_________________________________________________________________
Find det, du s�ger med MSN S�g http://search.msn.dk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Path.cpp.zip
Type: application/x-zip-compressed
Size: 463 bytes
Desc: not available
URL:
2010 Jul 08
1
[LLVMdev] passing parameters for a analysis pass
...org/docs/CommandLine.html .
Mostly you can just add an appropriate "cl::opt<string>" option (for
your filename, for example) and you're on your way.
~Will
On Wed, Jul 7, 2010 at 9:55 PM, Reid Kleckner <reid.kleckner at gmail.com> wrote:
> You can use llvm::sys::Path::GetTemporaryDirectory() and put the
> inputs and outputs there.
>
> Reid
>
> On Wed, Jul 7, 2010 at 4:23 PM, Guoliang Jin <jingl1345 at gmail.com> wrote:
>> Hi,
>>
>> I want to pass parameter to a analysis pass. My pass need to use some
>> result from some other tools. I can...
2004 Aug 31
9
[LLVMdev] POSIX compliance
Reid,
>As for Interix support in general, I'm having a hard time determining
>which variant of Unix Interix implements. It seems to be partially Posix
>1 and partially Posix 2 based. Do you have any further information
>related to the specific standards supported by Interix? I don't want to
>incorrectly categorize the Interix support.
I've discussed this subject with
2005 May 31
7
[LLVMdev] [Cygwin] 'make tools-only' configuration error
...ate :-
$ make tools-only
make[1]: Entering directory `/usr/build/llvm/lib/System'
llvm[1]: Compiling Path.cpp for Debug build
In file included from /usr/src/llvm/lib/System/Path.cpp:104:
/usr/src/llvm/lib/System/Unix/Path.inc: In static member function `static llvm::
sys::Path llvm::sys::Path::GetTemporaryDirectory()':
/usr/src/llvm/lib/System/Unix/Path.inc:93: error: `mkdtemp' undeclared (first us
e this function)
/usr/src/llvm/lib/System/Unix/Path.inc:93: error: (Each undeclared identifier is
reported only once for each function it appears in.)
make[1]: *** [/usr/build/llvm/lib/System/Debug/Path.o]...