search for: metadatatracking

Displaying 7 results from an estimated 7 matches for "metadatatracking".

2020 Apr 30
2
Discrepancy between Debug and Release+Asserts versions of Clang/LLVM
...s in a segmentation fault. The backtrace for the error, up to the method I'm working on, is as follows: // signal handling... #4 0x00005556e48d6120 llvm::ReplaceableMetadataImpl::getOrCreate(llvm::Metadata&) (/home/sjessu/build-no-debug/bin/clang-10+0x2787120) #5 0x00005556e48db8c2 llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>) (/home/sjessu/build-no-debug/bin/clang-10+0x278c8c2) #6 0x00005556e48dbc12 llvm::MDNode::MDNode(llvm::LLVMContext&, unsigned int, llvm::Metadata::StorageType, llvm::ArrayRef<llvm::Metadata*...
2015 Nov 22
2
BuildMI crashes on a certain probability on the exact same test
...18809 llvm::sys::RunSignalHandlers() + 425 3 clang 0x000000010e61c549 SignalHandler(int) + 345 4 libsystem_platform.dylib 0x00007fff9d1a852a _sigtramp + 26 5 libsystem_platform.dylib 0x0000000000000003 _sigtramp + 1659206387 6 clang 0x000000010df459d6 llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*>) + 262 7 clang 0x000000010e1bcf50 llvm::MetadataTracking::track(llvm::Metadata*&) + 64 8 clang 0x000000010e1bcefa llvm::TrackingMDRef::track() + 42 9 cla...
2015 Jan 14
3
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
...lvm::Metadata*>, unsigned long> > >::erase(void* const&) /usr/local/google/home/blaikie/dev/llvm/src/include/llvm/ADT/DenseMap.h:200:10 #7 0x1ad23da llvm::ReplaceableMetadataImpl::dropRef(void*) /usr/local/google/home/blaikie/dev/llvm/src/lib/IR/Metadata.cpp:134:8 #8 0x1ae5c6a llvm::MetadataTracking::untrack(void*, llvm::Metadata&) /usr/local/google/home/blaikie/dev/llvm/src/lib/IR/MetadataTracking.cpp:43:1 #9 0xa1282c llvm::MetadataTracking::untrack(llvm::Metadata*&) /usr/local/google/home/blaikie/dev/llvm/src/include/llvm/IR/MetadataTracking.h:69:59 #10 0x1ae5221 llvm::MDOperand::unt...
2020 Apr 30
2
Discrepancy between Debug and Release+Asserts versions of Clang/LLVM
...r, up to the method I'm working on, is as follows: >> >> // signal handling... >> #4 0x00005556e48d6120 >> llvm::ReplaceableMetadataImpl::getOrCreate(llvm::Metadata&) >> (/home/sjessu/build-no-debug/bin/clang-10+0x2787120) >> #5 0x00005556e48db8c2 llvm::MetadataTracking::track(void*, >> llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, >> llvm::Metadata*>) (/home/sjessu/build-no-debug/bin/clang-10+0x278c8c2) >> #6 0x00005556e48dbc12 llvm::MDNode::MDNode(llvm::LLVMContext&, unsigned >> int, llvm::Metadata::StorageTyp...
2015 Apr 15
2
[LLVMdev] RFC: Metadata attachments to function definitions
...teresting -- I didn't know we had this! Two reasons it can't be used directly: - Here, the element type is actually a `std::pair<>`, with `.first` being a tag for the type of attachment (really this is a low-mem map from tag to pointer). - The pointer type needs to have `MetadataTracking` support so that LLParser, BitcodeReader, and DIBuilder can assign a temporary attachment that later gets RAUW'ed. However, if I'm going to roll a custom type anyway, I might as well go full hog: - Make the "large" vector `std::pair<unsigned, TrackingMDNodeRef>`....
2015 Apr 15
4
[LLVMdev] RFC: Metadata attachments to function definitions
> On 2015 Apr 14, at 21:46, David Blaikie <dblaikie at gmail.com> wrote: > > On Tue, Apr 14, 2015 at 9:33 PM, Duncan P. N. Exon Smith > <dexonsmith at apple.com> wrote: >> >> `Function` definitions should support `MDNode` attachments, with a >> similar syntax to instructions: >> >> define void @foo() nounwind !attach !0 { >>
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...ntextImpl.cpp for Release+Asserts build llvm[1]: Compiling LegacyPassManager.cpp for Release+Asserts build llvm[1]: Compiling MDBuilder.cpp for Release+Asserts build llvm[1]: Compiling Mangler.cpp for Release+Asserts build llvm[1]: Compiling Metadata.cpp for Release+Asserts build llvm[1]: Compiling MetadataTracking.cpp for Release+Asserts build llvm[1]: Compiling Module.cpp for Release+Asserts build llvm[1]: Compiling Operator.cpp for Release+Asserts build llvm[1]: Compiling Pass.cpp for Release+Asserts build llvm[1]: Compiling PassManager.cpp for Release+Asserts build llvm[1]: Compiling PassRegistry.cpp for...