mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 23:17:03 +08:00
GP-0 fix rust-dwarf test after module move
This commit is contained in:
-16
@@ -65,22 +65,6 @@ public class DWARFFunctionImporterTest extends DWARFTestBase {
|
||||
assertEquals("int", fooParams[0].getDataType().getName());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testRustMethod_SetsRustCC() throws CancelledException, IOException, DWARFException {
|
||||
addCompUnit(DW_LANG_Rust);
|
||||
|
||||
DebugInfoEntry intDIE = addInt();
|
||||
newSubprogram("foo", intDIE, 0x410, 10).create();
|
||||
|
||||
importFunctions();
|
||||
|
||||
Function fooFunc = program.getListing().getFunctionAt(addr(0x410));
|
||||
assertNotNull(fooFunc);
|
||||
|
||||
assertEquals("foo", fooFunc.getName());
|
||||
assertEquals(CompilerSpec.CALLING_CONVENTION_rustcall, fooFunc.getCallingConventionName());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNamespace_with_reserved_chars()
|
||||
throws CancelledException, IOException, DWARFException {
|
||||
|
||||
Reference in New Issue
Block a user