summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorpho <pho@FreeBSD.org>2011-12-09 17:19:41 +0000
committerpho <pho@FreeBSD.org>2011-12-09 17:19:41 +0000
commit109ecfbeb1319e392b9ab944c5dd245ffff25bd2 (patch)
tree42cf11814173a287d36cf2ba3f4fa0479b71be1d /contrib/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parenta274e72947d9b0f3729b2d06c42826a43ec46097 (diff)
downloadFreeBSD-src-109ecfbeb1319e392b9ab944c5dd245ffff25bd2.zip
FreeBSD-src-109ecfbeb1319e392b9ab944c5dd245ffff25bd2.tar.gz
Move cpu_set_upcall(newtd, td) up before the first call of
thread_free(newtd). This to avoid a possible page fault in cpu_thread_clean() as seen on amd64 with syscall fuzzing. Reviewed by: kib MFC after: 1 week
Diffstat (limited to 'contrib/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud