search for: dwarfexpress

Displaying 20 results from an estimated 24 matches for "dwarfexpress".

2018 Nov 03
2
llvm bug 36466 fix
...vm::MCRegisterInfo::getLLVMRegNum(unsigned int, bool) const /home/linux/llvm-7/llvm/lib/MC/MCRegisterInfo.cpp:88:0 #10 0x00000000004bd03e llvm::prettyPrintRegisterOp(llvm::raw_ostream&, unsigned char, unsigned long*, llvm::MCRegisterInfo const*, bool) /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp:206:0 #11 0x00000000004bd226 llvm::DWARFExpression::Operation::print(llvm::raw_ostream&, llvm::DWARFExpression const*, llvm::MCRegisterInfo const*, bool) /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp:237:0 #12 0x00000000004bd466 llvm::DWARFExpression::print(llvm::raw_os...
2018 Nov 03
2
llvm bug 36466 fix
...signed int, >> bool) const /home/linux/llvm-7/llvm/lib/MC/MCRegisterInfo.cpp:88:0 >> #10 0x00000000004bd03e llvm::prettyPrintRegisterOp(llvm::raw_ostream&, >> unsigned char, unsigned long*, llvm::MCRegisterInfo const*, bool) >> /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp:206:0 >> #11 0x00000000004bd226 >> llvm::DWARFExpression::Operation::print(llvm::raw_ostream&, >> llvm::DWARFExpression const*, llvm::MCRegisterInfo const*, bool) >> /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp:237:0 >> #12 0x00000000004bd...
2018 Nov 03
2
llvm bug 36466 fix
...l) const /home/linux/llvm-7/llvm/lib/MC/MCRegisterInfo.cpp:88:0 >>>> #10 0x00000000004bd03e llvm::prettyPrintRegisterOp(llvm::raw_ostream&, >>>> unsigned char, unsigned long*, llvm::MCRegisterInfo const*, bool) >>>> /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp:206:0 >>>> #11 0x00000000004bd226 >>>> llvm::DWARFExpression::Operation::print(llvm::raw_ostream&, >>>> llvm::DWARFExpression const*, llvm::MCRegisterInfo const*, bool) >>>> /home/linux/llvm-7/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp:23...
2020 Feb 07
4
Enabling debug entry value production by default
...e-time & DWARF section size numbers), as well as a size analysis of stage2 builds of {llc, clang, lldb} in [1]. Djordje has also shared a nice location statistics comparison chart in [1], showing increased variable availability with entry values enabled. For my part, I instrumented lldb's DWARFExpression::Evaluate method to log instances in which a variable location is unavailable. I then used a script [4] to single-step through a stage2 RelWithDebInfo+entryvals clang binary as it was compiling sqlite3.c, printing local variables at each stop. Without entry values, lldb reported "variable n...
2020 Nov 12
2
[DebugInfo]Crash during building openmpi4.0.0
Hi folks, While building openmpi.4.0.0(Optimized debug build), using trunk clang we encountered a crash(assertion failure). Initially assertion seems trivial: [...] void llvm::DwarfExpression::addFragmentOffset(const llvm::DIExpression*): Assertion `FragmentOffset >= OffsetInBits && "overlapping or duplicate fragments"' failed. [...] But, narrowing to RC. We discovered "-O3 -enable-partial-inlining" pass which is doing some DebugInfo manipulation,...
2020 Feb 07
2
Enabling debug entry value production by default
...ection size numbers), as well as a size analysis of stage2 builds of {llc, clang, lldb} in [1]. > > Djordje has also shared a nice location statistics comparison chart in [1], showing increased variable availability with entry values enabled. > > For my part, I instrumented lldb's DWARFExpression::Evaluate method to log instances in which a variable location is unavailable. I then used a script [4] to single-step through a stage2 RelWithDebInfo+entryvals clang binary as it was compiling sqlite3.c, printing local variables at each stop. Without entry values, lldb reported "variable n...
2017 Dec 05
9
Who wants faster LLVM/Clang builds?
...02 -88.2% tools/llvm-readobj/ObjDumper.cpp 0.43 0.10 -76.5% lib/MC/MCWinEH.cpp 0.51 0.13 -74.3% lib/Transforms/Vectorize/Vectorize.cpp 0.72 0.29 -59.7% tools/llvm-diff/DiffLog.cpp 0.58 0.26 -54.6% lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp 0.46 0.26 -44.1% lib/DebugInfo/DWARF/DWARFExpression.cpp 0.68 0.38 -43.3% lib/LTO/LTOModule.cpp 2.25 1.33 -41.1% lib/Target/TargetMachine.cpp 1.76 1.10 -37.8% Full list: Clang top 10 Filename Old New Delta tools/libclang/CXString.cpp 1.70 0.25 -85.2% lib/Tooling/CommonOptionsParser.cpp 1.69 0.55 -67.3% lib/AST/StmtViz.cpp...
2017 Dec 06
3
Who wants faster LLVM/Clang builds?
...s/llvm-readobj/ObjDumper.cpp 0.43 0.10 -76.5% > lib/MC/MCWinEH.cpp 0.51 0.13 -74.3% > lib/Transforms/Vectorize/Vectorize.cpp 0.72 0.29 -59.7% > tools/llvm-diff/DiffLog.cpp 0.58 0.26 -54.6% > lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp 0.46 0.26 -44.1% > lib/DebugInfo/DWARF/DWARFExpression.cpp 0.68 0.38 -43.3% > lib/LTO/LTOModule.cpp 2.25 1.33 -41.1% > lib/Target/TargetMachine.cpp 1.76 1.10 -37.8% > > Full list: > <llvm.txt> > > > *Clang top 10* > *Filename Old New Delta* > tools/libclang/CXString.cpp 1.70 0.25 -85.2% > lib/Tooling/CommonOpti...
2020 Aug 25
3
[Debuginfo] Changing llvm.dbg.value and DBG_VALUE to support multiple location operands
..._stack_value` instead of the current output `DW_OP_reg0 RSP`. The former is larger and gives less information, as both expressions evaluate to the same value but only the latter gives a location for the variable that can be modified by a debugger. This can be fixed with some pattern matching in the DwarfExpression class to cover this specific (albeit common) case. The current approach for the IR is not to add a new instruction, but to add a new metadata node that contains a list of IR value references (wrapped as ValueAsMetadata) and use it as the first argument to dbg.value. There is no syntactic incomp...
2020 Feb 07
2
Enabling debug entry value production by default
...tion size numbers), as well as a size analysis of stage2 builds of {llc, clang, lldb} in [1]. > > Djordje has also shared a nice location statistics comparison chart in [1], showing increased variable availability with entry values enabled. > > For my part, I instrumented lldb's DWARFExpression::Evaluate method to log instances in which a variable location is unavailable. I then used a script [4] to single-step through a stage2 RelWithDebInfo+entryvals clang binary as it was compiling sqlite3.c, printing local variables at each stop. Without entry values, lldb reported "variable n...
2020 Sep 02
2
[Debuginfo] Changing llvm.dbg.value and DBG_VALUE to support multiple location operands
..._stack_value` instead of the current output `DW_OP_reg0 RSP`. The former is larger and gives less information, as both expressions evaluate to the same value but only the latter gives a location for the variable that can be modified by a debugger. This can be fixed with some pattern matching in the DwarfExpression class to cover this specific (albeit common) case. > > The current approach for the IR is not to add a new instruction, but to add a new metadata node that contains a list of IR value references (wrapped as ValueAsMetadata) and use it as the first argument to dbg.value. There is no syntact...
2017 Dec 06
2
Who wants faster LLVM/Clang builds?
...s/llvm-readobj/ObjDumper.cpp 0.43 0.10 -76.5% > lib/MC/MCWinEH.cpp 0.51 0.13 -74.3% > lib/Transforms/Vectorize/Vectorize.cpp 0.72 0.29 -59.7% > tools/llvm-diff/DiffLog.cpp 0.58 0.26 -54.6% > lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp 0.46 0.26 -44.1% > lib/DebugInfo/DWARF/DWARFExpression.cpp 0.68 0.38 -43.3% > lib/LTO/LTOModule.cpp 2.25 1.33 -41.1% > lib/Target/TargetMachine.cpp 1.76 1.10 -37.8% > > Full list: > > <llvm.txt> > > > > *Clang top 10* > *Filename Old New Delta* > tools/libclang/CXString.cpp 1.70 0.25 -85.2% > lib/Tooling/...
2020 Feb 10
2
Enabling debug entry value production by default
...clang, lldb} in [1]. > >   > > Djordje has also shared a nice location statistics comparison chart in [1], showing increased variable availability with entry values enabled. > >   > > For my part, I instrumented lldb's DWARFExpression::Evaluate method to log instances in which a variable location is unavailable. I then used a script [4] to single-step through a stage2 RelWithDebInfo+entryvals clang binary as it was compiling sqlite3.c, printing local variables at each stop. Without entry values, lldb reported "variable n...
2020 Nov 13
0
[DebugInfo]Crash during building openmpi4.0.0
...0, at 9:02 AM, Tomar, Sourabh Singh <SourabhSingh.Tomar at amd.com> wrote: > > Hi folks, > > While building openmpi.4.0.0(Optimized debug build), using trunk clang we encountered a crash(assertion failure). > > Initially assertion seems trivial: > […] > void llvm::DwarfExpression::addFragmentOffset(const llvm::DIExpression*): Assertion `FragmentOffset >= OffsetInBits && "overlapping or duplicate fragments"' failed. > […] > > But, narrowing to RC. We discovered “-O3 -enable-partial-inlining” pass which is doing some DebugInfo manipulati...
2020 Sep 04
2
[Debuginfo] Changing llvm.dbg.value and DBG_VALUE to support multiple location operands
> Yeah, because that decision can only be made much later in LLVM in AsmPrinter/DwarfExpression.cpp. > In DWARF, DW_OP_reg(x) is a register l-value, all others can either be l-values or r-values depending on whether there is a DW_OP_stack_value/DW_OP_implicit* at the end. Yes, it might not be clear but that's what I'm trying to say. Out of the non-empty DWARF locations, registe...
2017 Dec 09
2
[cfe-dev] Who wants faster LLVM/Clang builds?
.../MCWinEH.cpp 0.49 0.15 -70.4% 43.9 21.4 -51.2% lib/Transforms/Vectorize/Vectorize.cpp 0.73 0.29 -60.7% 52.7 35.5 -32.6% tools/llvm-diff/DiffLog.cpp 0.59 0.27 -53.8% 50.7 33.7 -33.7% lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp 0.47 0.25 -46.7% 46.7 37.9 -18.9% lib/DebugInfo/DWARF/DWARFExpression.cpp 0.67 0.38 -43.5% 47.4 34.8 -26.7% lib/Transforms/Utils/ASanStackFrameLayout.cpp 0.52 0.32 -38.8% 41.7 33.7 -19.2% tools/llvm-dwp/llvm-dwp.cpp 2.48 1.53 -38.3% 92.5 55.2 -40.3% Full list: Clang top 10 Filename TimeOld TimeNew Delta SizeOld SizeNew SizeDelta tools/libclang/CXStri...
2017 Dec 15
3
[cfe-dev] Who wants faster LLVM/Clang builds?
...9 0.15 -70.4% 43.9 21.4 -51.2% > lib/Transforms/Vectorize/Vectorize.cpp 0.73 0.29 -60.7% 52.7 35.5 -32.6% > tools/llvm-diff/DiffLog.cpp 0.59 0.27 -53.8% 50.7 33.7 -33.7% > lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp 0.47 0.25 -46.7% > 46.7 37.9 -18.9% > lib/DebugInfo/DWARF/DWARFExpression.cpp 0.67 0.38 -43.5% 47.4 34.8 -26.7% > lib/Transforms/Utils/ASanStackFrameLayout.cpp 0.52 0.32 -38.8% 41.7 33.7 > -19.2% > tools/llvm-dwp/llvm-dwp.cpp 2.48 1.53 -38.3% 92.5 55.2 -40.3% > > Full list: > <llvm.txt> > > *Clang top 10* > *Filename TimeOld TimeNew De...
2020 Nov 13
1
[DebugInfo]Crash during building openmpi4.0.0
...at 9:02 AM, Tomar, Sourabh Singh <SourabhSingh.Tomar at amd.com<mailto:SourabhSingh.Tomar at amd.com>> wrote: Hi folks, While building openmpi.4.0.0(Optimized debug build), using trunk clang we encountered a crash(assertion failure). Initially assertion seems trivial: […] void llvm::DwarfExpression::addFragmentOffset(const llvm::DIExpression*): Assertion `FragmentOffset >= OffsetInBits && "overlapping or duplicate fragments"' failed. […] But, narrowing to RC. We discovered “-O3 -enable-partial-inlining” pass which is doing some DebugInfo manipulation, later trigge...
2017 Dec 06
2
[cfe-dev] Who wants faster LLVM/Clang builds?
...mper.cpp 0.43 0.10 -76.5% >> lib/MC/MCWinEH.cpp 0.51 0.13 -74.3% >> lib/Transforms/Vectorize/Vectorize.cpp 0.72 0.29 -59.7% >> tools/llvm-diff/DiffLog.cpp 0.58 0.26 -54.6% >> lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp 0.46 0.26 -44.1% >> lib/DebugInfo/DWARF/DWARFExpression.cpp 0.68 0.38 -43.3% >> lib/LTO/LTOModule.cpp 2.25 1.33 -41.1% >> lib/Target/TargetMachine.cpp 1.76 1.10 -37.8% >> >> Full list: >> >> <llvm.txt> >> >> >> >> *Clang top 10* >> *Filename Old New Delta* >> tools/libclang...
2015 Jan 29
0
[LLVMdev] Adding PDB support to lib\DebugInfo
On Thu Jan 29 2015 at 10:22:17 AM Zachary Turner <zturner at google.com> wrote: > I've been working on adding pdb reading support to llvm. This started as > a tool for dumping info from a pdb (similar to llvm-dwarfdump), which has > been checked in and currently has limited support for dumping pdb. > > There's still more to be done on the pdb dumping tool, but at