Michael Buch
Michael Buch
@jbinko interesting that you mention this. I've previously ported a tvision-based console application from Windows 7 (which had the legacy terminal) to Windows 10 (with its new 64-bit terminal). I...
> Using the legacy console shouldn't make a difference because the Win32 console resize events are the same in either case. And actually, the legacy console can be resized via...
Tried on Darwin. This is what the ast looks like: ``` (lldb) target module dump ast Dumping clang ast for 43 modules. TranslationUnitDecl 0x103821808 |-FunctionDecl 0x1038226b0 main 'int ()' extern...
Interestingly we never call `DWARFASTParserClang::ParseEnum` on the anonymous enum. And the only reason we do call it for `MyEnum` is because we have a local variable of that type in...
Looks like it crashes on: ``` VarDecl 0x4ec36e380 NotADL 'const clang::CallExpr::ADLCallKind' static cinit `-IntegerLiteral 0x4ec36e3f0 'bool' 0 ```
Shorter repro: ``` $ cat enum.cpp struct S { enum class ADLCallKind : bool { NotADL, UsesADL }; static constexpr ADLCallKind NotADL = ADLCallKind::NotADL; static constexpr ADLCallKind UsesADL = ADLCallKind::UsesADL;...
Will probably need to extend what David did for bool initialisation in `DWARFASTParserClang` to bool enum types too
Following commit caused the regression: ``` bc150a07f1a14a7923a29499b568d799f7214912 is the first bad commit commit bc150a07f1a14a7923a29499b568d799f7214912 Author: Nathan Sidwell Date: Mon Mar 28 12:38:24 2022 -0700 [demangler] No need to space adjacent...
Not sure what exactly writes out the `DW_AT_name` with the disambiguating space then. Would've expected this to come from the demangler. But somewhere there's a discrepancy. Either way, we should...
Ok so looks like we create the function name (which gets attached to a DISubProgram) in `CGDebugInfo::CreateCXXMemberFunction` via `CGDebugInfo::GetName`. This creates the name by using the AST type printer. `CGDebugInfo::getPrintingPolicy`...