This is an archive of the discontinued LLVM Phabricator instance.

[lldb/test] Add Shell/Expr/TestStringLiteralExpr.test
ClosedPublic

Authored by jchecahi on Jul 7 2022, 1:26 AM.

Details

Summary

This test should exercise the usage of expressions containing
string literals and ensure that lldb doesn't crash.

Diff Detail

Event Timeline

jchecahi created this revision.Jul 7 2022, 1:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2022, 1:26 AM
jchecahi requested review of this revision.Jul 7 2022, 1:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2022, 1:26 AM
serge-sans-paille added inline comments.
lldb/test/Shell/Expr/TestStringLiteralExpr.test
2

This line and the one below looks like debug code and should be removed

jchecahi updated this revision to Diff 442819.Jul 7 2022, 1:47 AM

[lldb/test] Add Shell/Expr/TestStringLiteralExpr.test

This test should exercise the usage of expressions containing
string literals and ensure that lldb doesn't crash.

JDevlieghere accepted this revision.Jul 7 2022, 12:53 PM

LGTM, assuming this isn't already covered (I couldn't immediately find a test that covers string literals)

This revision is now accepted and ready to land.Jul 7 2022, 12:53 PM

I checked the test base and didn't find any similar test either.

This revision was automatically updated to reflect the committed changes.