search for: getimpl

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

2015 Feb 24
2
[LLVMdev] Removing contention in PassRegistry accesses to speed up compiles
...stryObj) { + PassRegistryObj = new PassRegistry(); + } + return PassRegistryObj; } -static ManagedStatic<sys::SmartMutex<true> > Lock; //===----------------------------------------------------------------------===// // PassRegistryImpl @@ -72,26 +77,23 @@ void *PassRegistry::getImpl() const { // PassRegistry::~PassRegistry() { - sys::SmartScopedLock<true> Guard(*Lock); PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(pImpl); - + for (std::vector<const PassInfo*>::iterator I = Impl->ToFree.begin(), E = Impl->ToFree.end(); I !=...
2020 Apr 30
2
Discrepancy between Debug and Release+Asserts versions of Clang/LLVM
...clang-10+0x278c8c2) #6 0x00005556e48dbc12 llvm::MDNode::MDNode(llvm::LLVMContext&, unsigned int, llvm::Metadata::StorageType, llvm::ArrayRef<llvm::Metadata*>, llvm::ArrayRef<llvm::Metadata*>) (/home/sjessu/build-no-debug/bin/clang-10+0x278cc12) #7 0x00005556e48dd70d llvm::MDTuple::getImpl(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool) (/home/sjessu/build-no-debug/bin/clang-10+0x278e70d) #8 0x00005556e4a4b293 (anonymous namespace)::LowerTypeTestsModule::lower() (.part.1843) (/home/sjessu/build-no-debug/bin/clang-10+0x28fc293) Cruc...
2020 Apr 30
2
Discrepancy between Debug and Release+Asserts versions of Clang/LLVM
...8dbc12 llvm::MDNode::MDNode(llvm::LLVMContext&, unsigned >> int, llvm::Metadata::StorageType, llvm::ArrayRef<llvm::Metadata*>, >> llvm::ArrayRef<llvm::Metadata*>) >> (/home/sjessu/build-no-debug/bin/clang-10+0x278cc12) >> #7 0x00005556e48dd70d llvm::MDTuple::getImpl(llvm::LLVMContext&, >> llvm::ArrayRef<llvm::Metadata*>, llvm::Metadata::StorageType, bool) >> (/home/sjessu/build-no-debug/bin/clang-10+0x278e70d) >> #8 0x00005556e4a4b293 (anonymous >> namespace)::LowerTypeTestsModule::lower() (.part.1843) >> (/home/sjessu/...
2020 Apr 01
2
Question WRT llvm.dbg.value
> On Apr 1, 2020, at 2:56 AM, Sourabh Singh Tomar <sourav0311 at gmail.com> wrote: > > > Do you mean documenting the desired frontend behavior, or adding some verifier in > LLVM? A warning for the latter is that SROA may currently emit IR that contains a > mix of declares and values for different fragments of an aggregate variable, so I > assume that is something that
2015 Jan 14
3
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
Hi Duncan, I came across something like the following recently which I guess might be related to your recent work. Any ideas? $ clang++-tot -cc1 crash_on_invalid.cpp -g -emit-obj -fexceptions -fcxx-exceptions crash_on_invalid.cpp:13:1: error: C++ requires a type specifier for all declarations x; ^ 1 error generated. *** Error in `clang++-tot': corrupted double-linked list: 0x000000000754f340
2015 Jan 14
2
[LLVMdev] Crash on invalid during LLVMContext destruction MDNode::dropAllReferences
...ains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib+0x42b69) > #1 0x10c4a9f35 in llvm::MDNode::operator new(unsigned long, unsigned > int) (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x101588f35) > #2 0x10c4abc1a in llvm::MDTuple::getImpl(llvm::LLVMContext&, > llvm::ArrayRef<llvm::Metadata*>, bool) > (/Users/dexonsmith/data/llvm.asan/staging/bin/clang+0x10158ac1a) > #3 0x10c3af5ed in llvm::DebugLoc::get(unsigned int, unsigned int, > llvm::MDNode*, llvm::MDNode*) > (/Users/dexonsmith/data/llvm.asan/stagin...