diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2025-10-02 14:05:31 +0100 |
---|---|---|
committer | Michael Buch <michaelbuch12@gmail.com> | 2025-10-02 14:08:40 +0100 |
commit | faf070f062ac7f3861092ab110982a613d7dfe1b (patch) | |
tree | 9120993cd74e156c6b7ba72e6b5d52b2d34f60d7 /llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp | |
parent | e7839eed6b9f48609f536f55b277eeb544d41c78 (diff) | |
download | llvm-faf070f062ac7f3861092ab110982a613d7dfe1b.zip llvm-faf070f062ac7f3861092ab110982a613d7dfe1b.tar.gz llvm-faf070f062ac7f3861092ab110982a613d7dfe1b.tar.bz2 |
[lldb][test] TestExprDefinitionInDylib.py adjust test to account for older compiler versions
Skip tests that require `-gstructor-decl-linkage-names` on Clang versions that don't support it.
Don't pass `-gno-structor-decl-linkage-names` on Clang versions where it the flag didn't exist but it was the default behaviour of the compiler anyway.
Drive-by:
- We used to run `self.expect("Bar()")` which would always fail. So the `error=True` would be true even if we didn't pass the `-gno-structor-linkage-names`. So it wasn't testing the behaviour properly. This patch changes these to `self.expect("expr Bar()")`.
Diffstat (limited to 'llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp')
0 files changed, 0 insertions, 0 deletions