Ben Dunbobbin
Ben Dunbobbin
| | | | --- | --- | | Bugzilla Link | [42460](https://llvm.org/bz42460) | | Version | unspecified | | OS | All | | CC | @rui314,@smithp35 | ##...
| | | | --- | --- | | Bugzilla Link | [43457](https://llvm.org/bz43457) | | Resolution | FIXED | | Resolved on | Apr 23, 2020 03:14 | | Version...
| | | | --- | --- | | Bugzilla Link | [50264](https://llvm.org/bz50264) | | Resolution | FIXED | | Resolved on | May 07, 2021 08:44 | | Version...
In the following test-case: ```console $ echo "void foo(){}" > foo.c $ gcc -c foo.c $ llvm-ar qc q.a foo.o $ llvm-ar rT q.a foo.o ``` The output should be:...
The CGProfilePass is not run as part of compiling the LTO object file with FullLTO, as a consequence the .llvm.call-graph-profile section is not emitted into the LTO object file and...
https://github.com/llvm/llvm-project/commit/3d65cd405d64afd86a59c1f58098dfe891841271 fixes the help text to match the current behaviour (which was changed in https://github.com/llvm/llvm-project/commit/cc2457ca1bbdddefc09d72f889bc0389c90a831e). CC patch author @kongy.
https://reviews.llvm.org/D128482 has regressed certain cases of VTT emission which are no longer marked. For example, in the following case: ``` class C {}; class D : virtual C {}; D...
**Preamble:** Consider the following code: ``` namespace cxx20 { template struct A {}; void f(A) {} }; ``` For function f in the above, [Clang ](https://godbolt.org/#g:!((g:!((g:!((g:!((h:codeEditor,i:(filename:'1',fontScale:13,fontUsePx:'0',j:1,lang:c%2B%2B,selection:(endColumn:3,endLineNumber:4,positionColumn:3,positionLineNumber:4,selectionStartColumn:3,selectionStartLineNumber:4,startColumn:3,startLineNumber:4),source:'namespace+cxx20+%7B%0A++template%3Cauto%3E+struct+A+%7B%7D%3B%0A++void+f(A%3C1.0l%3E)+%7B%7D%0A%7D%3B'),l:'5',n:'1',o:'C%2B%2B+source+%231',t:'0')),k:33.615654364185666,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:compiler,i:(compiler:clang_trunk,filters:(b:'0',binary:'0',binaryObject:'1',commentOnly:'0',debugCalls:'1',demangle:'1',directives:'0',execute:'1',intel:'0',libraryCode:'0',trim:'1',verboseDemangling:'0'),flagsViewOpen:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,libs:!(),options:'-std%3Dc%2B%2B20',overrides:!(),selection:(endColumn:44,endLineNumber:1,positionColumn:44,positionLineNumber:1,selectionStartColumn:1,selectionStartLineNumber:1,startColumn:1,startLineNumber:1),source:1),l:'5',n:'0',o:'+x86-64+clang+(trunk)+(Editor+%231)',t:'0')),header:(),k:53.78470708097413,l:'4',m:100,n:'0',o:'',s:0,t:'0'),(g:!((h:tool,i:(args:'-g',argsPanelShown:'0',compilerName:'x86-64+clang+18.1.0',editorid:1,fontScale:14,fontUsePx:'0',j:1,monacoEditorHasBeenAutoOpened:'1',monacoEditorOpen:'1',monacoStdin:'1',stdin:'',stdinPanelShown:'1',toolId:readelf,treeid:0,wrap:'1'),l:'5',n:'0',o:'readelf+(trunk)+x86-64+clang+(trunk)+(Editor+%231,+Compiler+%231)',t:'0')),k:12.599638554840212,l:'4',n:'0',o:'',s:0,t:'0')),l:'2',m:58.492063492063494,n:'0',o:'',t:'0'),(g:!((h:output,i:(compilerName:'x86-64+gcc+(trunk)',editorid:1,fontScale:13,fontUsePx:'0',j:1,wrap:'0'),l:'5',n:'0',o:'Output+of+x86-64+clang+(trunk)+(Compiler+%231)',t:'0')),header:(),l:'4',m:41.507936507936506,n:'0',o:'',s:0,t:'0')),l:'3',n:'0',o:'',t:'0')),version:4) mangles as `_ZN5cxx201fENS_1AILe3fff8000000000000000EEE` (note...
``` namespace cxx20 { template struct A {}; void f(A) {} }; ``` Is mangled as `_ZN5cxx201fENS_1AILd3ff0000000000000EEE`. For a Visual Studio 2019 build llvm-cxxfilt demangles as `cxx20::f(cxx20::A)` however for a...
My understanding is that the convention for addresses with no line correspondence is to associate them with line 0. From the DWARF 5 spec section `6.2.2 State Machine Registers` from...