Displaying 8 results from an estimated 8 matches for "argc_".
Did you mean:
argc
2012 Jul 14
2
[LLVMdev] Recompiling llvm+clang how-to?
...the morning I captured the problem status.
Could you please advise me on this problem?
- I downloaded brand new clang+llvm and compiled it as instructed from
the url below.
>> http://clang.llvm.org/get_started.html
- I added some code to tools/clang/tools/driver/driver.cpp
343 int main(int argc_, const char **argv_) {
344
345 {
346 int aaa = 0, bbb = 0;
347
348 for (int i = 0; i != 1 ; ) {
349 if (aaa < 10000) aaa += 1;
350 if (bbb < 10000) bbb += aaa;
351 if (aaa > 100) aaa -= 1;
352 if (bbb > 100) bbb -= aaa;
353 }
354 }
- And after th...
2011 Apr 22
1
Valgrind/Callgrind 3.6.1 does not appear to work on Centos Linux 5.5
...0xAE2272: _dl_init (in /lib/ld-2.5.so)
==18130== by 0xAD484E: ??? (in /lib/ld-2.5.so)
// Test program MatchUpTest.cpp
int fibonacci(int n){
if (n == 0)
return 0;
else if (n == 1)
return 1;
else
return fibonacci(n - 1) + fibonacci(n-2);
}
int main(int Argc_,char *Argv_[]) {
fibonacci(10);
return 1;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110422/4f3c0e5f/attachment-0005.html>
2012 Jul 13
0
[LLVMdev] Recompiling llvm+clang how-to?
Hi Journeyer J. Joh,
> I have questions about compiling Clang+llvm.
>
> I compile as the link below instructs.
>
> http://clang.llvm.org/get_started.html
>
> I do on Ubuntu 12.04.
>
> `time make -j5` prints for about 13 minutes to compile a brand new
> version of Clang+llvm.
> And after this I edit some C++ code(clang/tools/driver/driver.cpp) and
> compiles
2012 Jul 13
2
[LLVMdev] Recompiling llvm+clang how-to?
Hello list
I have questions about compiling Clang+llvm.
I compile as the link below instructs.
http://clang.llvm.org/get_started.html
I do on Ubuntu 12.04.
`time make -j5` prints for about 13 minutes to compile a brand new
version of Clang+llvm.
And after this I edit some C++ code(clang/tools/driver/driver.cpp) and
compiles using the very same makefile which was used above sentence.
But this
2019 Jul 29
4
ICE in release/9.x when using LLVM_ENABLE_MODULES
I ran into an LLVM/Clang crash when attempting to do the following:
1. Build Clang from the release/9.x branch source.
2. Use the Clang from (1) to build clangd on the release/9.x branch,
with LLVM_ENABLE_MODULES=On.
I wrote a script to reproduce the crash:
https://gist.github.com/modocache/ac366ca9673b93bb21e75d3e72162608
At the above URL, you'll find a script `repro.sh` that reproduces
2016 Aug 04
4
help please: how to sort the contents of a "SymbolTableListTraits<GlobalVariable>"?
...4-42-1cb1a4c-master/llvm/tools/cfe/tools/driver/cc1_main.cpp:116
#23 0x0000000000c27c2a in ExecuteCC1Tool (argv=..., Tool=...)
at
/work/Abe/non-backup-worthy/build_dirs/Clang/pre-3.9/2016-07-17-22-54-42-1cb1a4c-master/llvm/tools/cfe/tools/driver/driver.cpp:301
#24 0x0000000000c26ae2 in main (argc_=52, argv_=0x7fffffffdfb8)
at
/work/Abe/non-backup-worthy/build_dirs/Clang/pre-3.9/2016-07-17-22-54-42-1cb1a4c-master/llvm/tools/cfe/tools/driver/driver.cpp:382
----- /tmp/main_with_3_globals-841619.c -----
# 1 "<built-in>"
# 1 "main_with_3_globals.c"
int f...
2012 Feb 10
1
[LLVMdev] Question about /llvm/trunk/lib/CodeGen/MachineScheduler.cpp
...bin/qc/bin/clang",
>>>>> MainAddr=0xaa4654)
>>>>> at
>>>>> /local/mnt/workspace/slarin/tools/llvm-mainline-
>>>> merged/tools/clang/tools/dri
>>>>> ver/cc1_main.cpp:165
>>>>> #20 0x0000000000aa5e77 in main (argc_=65, argv_=0x7fffffffc058) at
>>>>> /local/mnt/workspace/slarin/tools/llvm-mainline-
>>>> merged/tools/clang/tools/dri
>>>>> ver/driver.cpp:353
>>>>>
>>>>>
>>>>> Thanks.
>>>>>
>>>>>...
2016 Jul 27
2
help please: how to sort the contents of a "SymbolTableListTraits<GlobalVariable>"?
Dear all,
In the process of trying to add optimization for better layout of global variables, I have run
up against a roadblock: I don`t seem to be able to sort the contents of a
"SymbolTableListTraits<GlobalVariable>" -- or even swap two elements in that list -- without
causing LLVM to crash.
I have tried writing a comparator class and then using "llvm::iplist<