MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / DoDemangleTestWithLabels

Function DoDemangleTestWithLabels

test/demangler-tests.ts:384–391  ·  view source on GitHub ↗
(filename: string)

Source from the content-addressed store, hash-verified

382}
383
384async function DoDemangleTestWithLabels(filename: string) {
385 const asm = processAsm(filename, {labels: true});
386 delete asm.parsingTime;
387 delete asm.filteredCount;
388
389 const demangler = new DummyCppDemangler(cppfiltpath, new DummyCompiler(), ['-n']);
390 await expect(demangler.process(asm)).resolves.toMatchFileSnapshot(filename + '.json');
391}
392
393if (process.platform === 'linux') {
394 describe('File demangling', () => {

Callers 1

demangler-tests.tsFile · 0.85

Calls 2

processAsmFunction · 0.85
processMethod · 0.65

Tested by

no test coverage detected