summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2025-02-28 10:46:17 -0800
committerGitHub <noreply@github.com>2025-02-28 10:46:17 -0800
commitaf2dd15a4b6b8e4f7d126f90e0dd4e9120a37503 (patch)
treed9e78389ec724dc76d7a90817f1a61026e6b2364 /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
parentf5749e7893eec74da75ff9e40282e35ccd3046b2 (diff)
[MLIR][LLVMIR] Add support for empty global ctor/dtor lists (#128969)
LLVM IR emitted in from C++ may contain `@llvm.global_ctors = appending global [0 x { i32, ptr, ptr }] zeroinitializer`. Before this PR, if we try to roundtrip code like this from the importer, we'll end up with nothing in place. Note that `llvm::appendToGlobalCtors` ignores empty lists and this PR uses the same approach as `llvm-as`, which doesn't use the utilities from `llvm/lib/Transforms/Utils/ModuleUtils.cpp` in order to build this - it calls into creating a global variable from scratch.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions