search for: debug_metadata_version

Displaying 3 results from an estimated 3 matches for "debug_metadata_version".

2013 Dec 09
0
[LLVMdev] dragonegg 3.4 branch broken
...covered-switch-default -Wnon-virtual-dtor -O3 -DNDEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS /sw/src/fink.build/dragonegg-gcc48-3.4-0/dragonegg-3.4/src/Debug.cpp /sw/src/fink.build/dragonegg-gcc48-3.4-0/dragonegg-3.4/src/Debug.cpp:982:25: error: no member named 'DEBUG_METADATA_VERSION' in namespace 'llvm' llvm::DEBUG_METADATA_VERSION); ~~~~~~^ 1 error generated. make: *** [Debug.o] Error 1 on x86_64-apple-darwin12 building against FSF gcc 4.8.2 with clang from the 3.4 release branch. Jack
2014 Oct 15
2
[LLVMdev] using -debug-ir to map identify IR mapping
Adding the flags in an opt pass seems to do the trick. I added the flags as follows M.addModuleFlag(llvm::Module::Warning, "Dwarf Version", 3); M.addModuleFlag(llvm::Module::Error, "Debug Info Version", llvm::DEBUG_METADATA_VERSION); llvm-dwarfdump and addr2line now point at a line in .ll files, not the source files. Thanks! /Muneeb On 15 Oct 2014, at 18:22, David Blaikie <dblaikie at gmail.com> wrote: > (similarly for the dwarf version flag) > > On Wed, Oct 15, 2014 at 9:22 AM, David Blaikie <dblaikie...
2014 Oct 15
2
[LLVMdev] using -debug-ir to map identify IR mapping
On Wed, Oct 15, 2014 at 9:04 AM, Adrian Prantl <aprantl at apple.com> wrote: > I have no experience with debug-ir, but is it possible that the debug-ir > pass never sets the debug info version? There should be a named metadata > node > !llvm.module.flags = !{..., !123} > !123 = metadata !{i32 1, metadata !"Debug Info Version", i32 2} > in the .ll output. If