We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5891192 commit d9d1e16Copy full SHA for d9d1e16
lldb/test/API/linux/aarch64/fpmr/main.c
@@ -37,6 +37,8 @@ int main(int argc, char *argv[]) {
37
uint64_t new_fpmr = get_fpmr(); // Set break point at this line.
38
uint64_t expected_fpmr = ((uint64_t)0b010101 << 32) | (uint64_t)0b010;
39
40
+ // If the debugger failed to update the value, exit uncleanly.
41
+ // This also allows you to run this program standalone to create a core file.
42
if (new_fpmr != expected_fpmr)
43
__builtin_trap();
44
0 commit comments