FailedChanges

Summary

  1. DebugInfo: Reduce the scope of some variables related to debug_ranges emission Minor tidy up/NFC
  2. [libFuzzer] Don't prefix absolute paths in fuchsia. The ExecuteCommand function in fuchsia used to prefix the getOutputFile for each command run with the artifact_prefix flag if it was available, because fuchsia components don't have a writable working directory. However, if a file with a global path is provided, fuchsia should honor that. An example of this is using the global /tmp directory to store stuff. In fuchsia it ended up being translated to data///tmp, whereas we want to make sure it is using /tmp (which is available to components using the isolated-temp feature). To test this I made the change, compiled fuchsia with this toolchain and ran a fuzzer with the -fork=1 flag (that mode makes use of the /tmp directory). I also tested that normal fuzzing workflow was not affected by this. Author: charco (Marco Vanotti) Differential Revision: https://reviews.llvm.org/D68774
  3. gn build: (manually) merge r374606 better
  4. gn build: Merge r235758
  5. gn build: Cmanually) merge r374590
Revision 374613 by dblaikie:
DebugInfo: Reduce the scope of some variables related to debug_ranges emission

Minor tidy up/NFC
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (diff)llvm.src/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Revision 374612 by jakehehrlich:
[libFuzzer] Don't prefix absolute paths in fuchsia.

The ExecuteCommand function in fuchsia used to prefix the
getOutputFile for each command run with the artifact_prefix flag if
it was available, because fuchsia components don't have a writable working
directory. However, if a file with a global path is provided, fuchsia
should honor that.

An example of this is using the global /tmp directory to store stuff.
In fuchsia it ended up being translated to data///tmp, whereas we want
to make sure it is using /tmp (which is available to components using the
isolated-temp feature).

To test this I made the change, compiled fuchsia with this toolchain and
ran a fuzzer with the -fork=1 flag (that mode makes use of the /tmp
directory). I also tested that normal fuzzing workflow was not affected
by this.

Author: charco (Marco Vanotti)
Differential Revision: https://reviews.llvm.org/D68774
Change TypePath in RepositoryPath in Workspace
The file was modified/compiler-rt/trunk/lib/fuzzer/FuzzerUtilFuchsia.cpp (diff)compiler-rt.src/lib/fuzzer/FuzzerUtilFuchsia.cpp
Revision 374611 by nico:
gn build: (manually) merge r374606 better
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/libunwind/src/BUILD.gn (diff)llvm.src/utils/gn/secondary/libunwind/src/BUILD.gn
Revision 374610 by gnsyncbot:
gn build: Merge r235758
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/libunwind/src/BUILD.gn (diff)llvm.src/utils/gn/secondary/libunwind/src/BUILD.gn
Revision 374608 by nico:
gn build: Cmanually) merge r374590
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/utils/gn/secondary/llvm/lib/Target/targets.gni (diff)llvm.src/utils/gn/secondary/llvm/lib/Target/targets.gni
The file was added/llvm/trunk/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mipsllvm.src/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips
The file was added/llvm/trunk/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gnllvm.src/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gn
The file was modified/llvm/trunk/utils/gn/secondary/llvm/unittests/BUILD.gn (diff)llvm.src/utils/gn/secondary/llvm/unittests/BUILD.gn
The file was added/llvm/trunk/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/Mipsllvm.src/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/Mips
The file was added/llvm/trunk/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/Mips/BUILD.gnllvm.src/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/Mips/BUILD.gn