search for: dibuilder_

Displaying 6 results from an estimated 6 matches for "dibuilder_".

Did you mean: dibuilder
2018 Mar 22
2
Question about debug information for global variables
...are the same. ops.push_back(llvm::dwarf::DW_OP_deref); // Add a constant offset to the value of the global variable. ops.push_back(llvm::dwarf::DW_OP_constu); ops.push_back(offset); ops.push_back(llvm::dwarf::DW_OP_plus); llvm::DIExpression *DIexpr{nullptr}; auto *DIE = DIBuilder_->createExpression(ops); auto *GVE = DIBuilder_->createGlobalVariableExpression( cu, name, "", file, 0, type, /* isLocalToUnit */ false, DIE); // Add GVE as debug info to BaseAddress. baseAddress->addDebugInfo(GVE); I guess I'm doing something wron...
2018 Mar 22
0
Question about debug information for global variables
...ush_back(llvm::dwarf::DW_OP_deref); > // Add a constant offset to the value of the global variable. > ops.push_back(llvm::dwarf::DW_OP_constu); > ops.push_back(offset); > ops.push_back(llvm::dwarf::DW_OP_plus); > llvm::DIExpression *DIexpr{nullptr}; > auto *DIE = DIBuilder_->createExpression(ops); > auto *GVE = DIBuilder_->createGlobalVariableExpression( > cu, name, "", file, 0, type, > /* isLocalToUnit */ false, DIE); > // Add GVE as debug info to BaseAddress. > baseAddress->addDebugInfo(GVE); > > I gues...
2018 Mar 22
2
Question about debug information for global variables
..._OP_deref); >> // Add a constant offset to the value of the global variable. >> ops.push_back(llvm::dwarf::DW_OP_constu); >> ops.push_back(offset); >> ops.push_back(llvm::dwarf::DW_OP_plus); >> llvm::DIExpression *DIexpr{nullptr}; >> auto *DIE = DIBuilder_->createExpression(ops); >> auto *GVE = DIBuilder_->createGlobalVariableExpression( >> cu, name, "", file, 0, type, >> /* isLocalToUnit */ false, DIE); >> // Add GVE as debug info to BaseAddress. >> baseAddress->addDebugInfo(GVE...
2018 Mar 22
0
Question about debug information for global variables
...t;> // Add a constant offset to the value of the global variable. >>> ops.push_back(llvm::dwarf::DW_OP_constu); >>> ops.push_back(offset); >>> ops.push_back(llvm::dwarf::DW_OP_plus); >>> llvm::DIExpression *DIexpr{nullptr}; >>> auto *DIE = DIBuilder_->createExpression(ops); >>> auto *GVE = DIBuilder_->createGlobalVariableExpression( >>> cu, name, "", file, 0, type, >>> /* isLocalToUnit */ false, DIE); >>> // Add GVE as debug info to BaseAddress. >>> baseAddress->a...
2018 Mar 23
2
Question about debug information for global variables
...nstant offset to the value of the global variable. >>>> ops.push_back(llvm::dwarf::DW_OP_constu); >>>> ops.push_back(offset); >>>> ops.push_back(llvm::dwarf::DW_OP_plus); >>>> llvm::DIExpression *DIexpr{nullptr}; >>>> auto *DIE = DIBuilder_->createExpression(ops); >>>> auto *GVE = DIBuilder_->createGlobalVariableExpression( >>>> cu, name, "", file, 0, type, >>>> /* isLocalToUnit */ false, DIE); >>>> // Add GVE as debug info to BaseAddress. >>>>...
2011 Apr 07
1
[LLVMdev] More DWARF problems
On Apr 7, 2011, at 12:14 PM, Talin wrote: > > OK I've been checking this out some more, and the DIEs don't look valid to me. Take a look at this output from dwarfdump -v: > > 0x000000c7: TAG_subprogram [3] > 0x000000c8: AT_name( .debug_str[0x000001bd] = "construct" ) > 0x000000cc: AT_MIPS_linkage_name( .debug_str[0x000001c7] =