Add -Xsanitize-parentheses to workaround ASM 6.1 issue in frame computation
#KT-29475 Fixed
This commit is contained in:
+5
@@ -15143,6 +15143,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/mangling/noOverrideWithJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("parentheses.kt")
|
||||
public void testParentheses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/mangling/parentheses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("publicOverride.kt")
|
||||
public void testPublicOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/mangling/publicOverride.kt");
|
||||
|
||||
@@ -2726,6 +2726,29 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeText/mangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Mangling extends AbstractBytecodeTextTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.ANY, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMangling() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeText/mangling"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("parentheses.kt")
|
||||
public void testParentheses() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/mangling/parentheses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("parenthesesNoSanitize.kt")
|
||||
public void testParenthesesNoSanitize() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/mangling/parenthesesNoSanitize.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeText/multifileClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
+23
@@ -2726,6 +2726,29 @@ public class IrBytecodeTextTestGenerated extends AbstractIrBytecodeTextTest {
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeText/mangling")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class Mangling extends AbstractIrBytecodeTextTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInMangling() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/bytecodeText/mangling"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM_IR, true);
|
||||
}
|
||||
|
||||
@TestMetadata("parentheses.kt")
|
||||
public void testParentheses() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/mangling/parentheses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("parenthesesNoSanitize.kt")
|
||||
public void testParenthesesNoSanitize() throws Exception {
|
||||
runTest("compiler/testData/codegen/bytecodeText/mangling/parenthesesNoSanitize.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/bytecodeText/multifileClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
+5
@@ -15143,6 +15143,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/mangling/noOverrideWithJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("parentheses.kt")
|
||||
public void testParentheses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/mangling/parentheses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("publicOverride.kt")
|
||||
public void testPublicOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/mangling/publicOverride.kt");
|
||||
|
||||
+5
@@ -15148,6 +15148,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/mangling/noOverrideWithJava.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("parentheses.kt")
|
||||
public void testParentheses() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/mangling/parentheses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("publicOverride.kt")
|
||||
public void testPublicOverride() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/mangling/publicOverride.kt");
|
||||
|
||||
Reference in New Issue
Block a user