WIP shadow-stack based mark/sweep collector

This commit is contained in:
Ayke van Laethem
2019-01-17 20:54:35 +01:00
parent e6e561100a
commit d27cfb1585
4 changed files with 310 additions and 1 deletions
+1 -1
View File
@@ -210,7 +210,7 @@ func defaultTarget(goos, goarch, triple string) (*TargetSpec, error) {
BuildTags: []string{goos, goarch},
Compiler: commands["clang"],
Linker: "cc",
LDFlags: []string{"-no-pie"}, // WARNING: clang < 5.0 requires -nopie
LDFlags: []string{"-Wl,--defsym=tinygo_gc_root_chain=llvm_gc_root_chain", "-no-pie"}, // WARNING: clang < 5.0 requires -nopie
Objcopy: "objcopy",
GDB: "gdb",
GDBCmds: []string{"run"},