Displaying 5 results from an estimated 5 matches for "lldbdataformatt".
2018 Dec 15
4
Disabling LLVM_ATTRIBUTE_ALWAYS_INLINE for development?
Hello all!
I find that using lldb to debug LLVM libraries can be super
frustrating, because a lot of LLVM classes, like the constructor for
StringRef, are marked LLVM_ATTRIBUTE_ALWAYS_INLINE. So when I attempt
to have lldb evaluate an expression that implicitly instantiates a
StringRef, I get 'error: Couldn't lookup symbols:
__ZN4llvm9StringRefC1EPKc'.
As an example, most recently
2018 Dec 16
3
Disabling LLVM_ATTRIBUTE_ALWAYS_INLINE for development?
...espite having built in a "Debug" configuration,
> > LLVM_ATTRIBUTE_ALWAYS_INLINE makes it very difficult to debug LLVM.
> >
> > How do you all deal with or work around this problem?
>
> I don't think there are any great workarounds. The data formatters in utils/lldbDataFormatters.py can help a bit.
>
>
> > Is there a good
> > way to do so? If not, would anyone object if I sent up a patch to
> > introduce a CMake variable or something to conditionally disable
> > LLVM_ATTRIBUTE_ALWAYS_INLINE? I'd like to be able to turn it off, but
> &...
2018 Dec 17
2
Disabling LLVM_ATTRIBUTE_ALWAYS_INLINE for development?
...nfiguration,
>> > > LLVM_ATTRIBUTE_ALWAYS_INLINE makes it very difficult to debug LLVM.
>> > >
>> > > How do you all deal with or work around this problem?
>> >
>> > I don't think there are any great workarounds. The data formatters in utils/lldbDataFormatters.py can help a bit.
>> >
>> >
>> > > Is there a good
>> > > way to do so? If not, would anyone object if I sent up a patch to
>> > > introduce a CMake variable or something to conditionally disable
>> > > LLVM_ATTRIBUTE_ALWAYS_INLI...
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a
/lot/ of errors like this (strangely I hit none of these in check-llvm,
only in check-clang):
Any ideas?
==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes
at address 0x631000014800
==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...reAsmPrinter;general;LLVMXCoreDesc;general;LLVMXCoreInfo;general;LLVMXCoreDisassembler;general;LLVMXCoreInfo;general;LLVMCore;general;LLVMSupport;
//Dependencies for the target
liblldb_LIB_DEPENDS:STATIC=general;-Wl,--start-group;general;lldbBase;general;lldbBreakpoint;general;lldbCommands;general;lldbDataFormatters;general;lldbHost;general;lldbCore;general;lldbExpression;general;lldbInitialization;general;lldbInterpreter;general;lldbSymbol;general;lldbTarget;general;lldbUtility;general;lldbPluginDisassemblerLLVM;general;lldbPluginSymbolFileDWARF;general;lldbPluginSymbolFilePDB;general;lldbPluginSymbolFileS...