mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
Capture more info on Sentry makeLlvmEdges reports
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user