- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RETPOLINE (0.37 sec)
-
test/codegen/retpoline.go
// asmcheck -gcflags=-spectre=ret //go:build amd64 package codegen func CallFunc(f func()) { // amd64:`CALL\truntime.retpoline` f() } func CallInterface(x interface{ M() }) { // amd64:`CALL\truntime.retpoline` x.M() } // Check to make sure that jump tables are disabled // when retpoline is on. See issue 57097. func noJumpTables(x int) int { switch x { case 0: return 0 case 1: return 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 580 bytes - Viewed (0) -
src/cmd/asm/main.go
os.Exit(2) case "": // nothing case "index": // known to compiler; ignore here so people can use // the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST case "all", "ret": ctxt.Retpoline = true } ctxt.Bso = bufio.NewWriter(os.Stdout) defer ctxt.Bso.Flush() architecture.Init(ctxt) // Create object file, write header. buf, err := bio.Create(*flags.OutputFile) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0)