Capture more info on Sentry makeLlvmEdges reports

This commit is contained in:
Ofek Shilon
2024-02-04 21:11:35 +02:00
parent d2ee6e18a5
commit 31dd08be80

View File

@@ -25,6 +25,7 @@
import {BaseCFGParser, Range, Node, Edge, AssemblyLine} from './base.js';
import {BaseInstructionSetInfo} from '../instruction-sets/base.js';
import {assert, unwrap} from '../../assert.js';
import {SentryCapture} from '../../sentry.js';
export type BBRange = {
namePrefix: string; // used to encode the function name in the first block
@@ -210,6 +211,7 @@ export class LlvmIrCfgParser extends BaseCFGParser {
color: 'red',
});
} else {
SentryCapture(terminatingInstruction, 'makeLlvmEdges unexpected br');
assert(false);
}
break;