diff options
author | Jorge Gorbe Moya <jgorbe@google.com> | 2024-10-09 18:00:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-09 18:00:17 -0700 |
commit | 756ec99c3629b433d803022d6d33e01d2ecd34a0 (patch) | |
tree | 7b5262214cdaa36f5ad4dfffc17cf6d80326ed29 /lldb/packages/Python/lldbsuite/test | |
parent | d52c8408ff2cd9d0125f0e3096731a039ba0d33d (diff) | |
download | llvm-756ec99c3629b433d803022d6d33e01d2ecd34a0.zip llvm-756ec99c3629b433d803022d6d33e01d2ecd34a0.tar.gz llvm-756ec99c3629b433d803022d6d33e01d2ecd34a0.tar.bz2 |
[SandboxVec] Re-land "Use sbvec-passes flag to create a pipeline of Region passes after BottomUpVec. (#111223)" (#111772)
https://github.com/llvm/llvm-project/pull/111223 was reverted because of
a build failure with `-DBUILD_SHARED_LIBS=on`.
The Passes component depends on Vectorizer (because PassBuilder needs to
be able to instantiate SandboxVectorizerPass). This resulted in CMake
doing this
1. when it builds lib/libLLVMVectorize.so.20.0git it adds
lib/libLLVMSandboxIR.so.20.0git to the command line, because it's listed
as a dependency (as expected)
2. when it's trying to build lib/libLLVMPasses.so.20.0git it adds
lib/libLLVMVectorize.so.20.0git to the command line, because it's listed
as a dependency (also as expected). But not libLLVMSandboxIR.so.
When SandboxVectorizerPass has its ctors/dtors defined inline, this
caused "undefined reference to vtable" linker errors. This change works
around that by moving ctors/dtors out of line.
Also fix a bazel build problem by adding the new
`llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/PassRegistry.def`
as a textual header in the Vectorizer target.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions