Displaying 2 results from an estimated 2 matches for "foo_sym".
Did you mean:
  do_sym
  
2013 Dec 03
2
[LLVMdev] code-generating constant strings
...#39;s C++ API
I'm asking, because to simply generate constant floating-point value C++ 
API uses
an incantation 'ConstantFP::get(getGlobalContext(), APFloat(Val));' so I 
guess string generation is also not obvious.
In the textual LLVM, what I want to generate is something like 
'@.foo_sym = private unnamed_addr constant {[13 x i8] c"hello world\0A\00"}'
I just modified the example of a constant string from LLVM reference 
manual, adding curly braces.
So, what I really want is for any newly encountered symbol to generate 
code, that declares variable, which is structur...
2013 Dec 03
0
[LLVMdev] Fwd: code-generating constant strings
...VM's C++ API
I'm asking, because to simply generate constant floating-point value C++
API uses
an incantation 'ConstantFP::get(getGlobalContext(), APFloat(Val));' so I
guess string generation is also not obvious.
In the textual LLVM, what I want to generate is something like
'@.foo_sym = private unnamed_addr constant {[13 x i8] c"hello world\0A\00"}'
I just modified the example of a constant string from LLVM reference
manual, adding curly braces.
So, what I really want is for any newly encountered symbol to generate
code, that declares variable, which is structure,...