re PR go/78789 (Error: no such instruction: `aesenc %xmm0,%xmm2' when compiling libgo...
[gcc.git] / libgo / runtime / go-breakpoint.c
1 /* go-breakpoint.c -- the runtime.Breakpoint function.
2
3 Copyright 2009 The Go Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style
5 license that can be found in the LICENSE file. */
6
7 #include <sched.h>
8
9 #include "runtime.h"
10
11 void Breakpoint (void) __asm__ (GOSYM_PREFIX "runtime.Breakpoint");
12
13 void
14 Breakpoint (void)
15 {
16 __builtin_trap ();
17 }