================
@@ -983,6 +999,40 @@ llvm::Error
ProcessElfCore::ParseThreadContextsFromNoteSegment(
}
}
+bool ProcessElfCore::IsElf(const NT_FILE_Entry entry) {
+ size_t size = strlen(llvm::ELF::ElfMagic);
+ uint8_t buf[size];
----------------
MaskRay wrote:
```
15: error: variable length arrays in C++ are a Clang extension
[-Werror,-Wvla-cxx-extension]
1004 | uint8_t buf[size];
```
https://github.com/llvm/llvm-project/pull/92078
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits