llvm-project/clang/unittests/Frontend
David L. Jones cd58bd6200 Use Backend_EmitMCNull for null codegen unit tests.
Using Backend_EmitLL attemps to create a file with an empty filename.
This is problematic in certain environments: an empty filename may be
illegal, or the default output path may not be writable (in the case
where an empty filename would otherwise have some non-failing
semantics). This patch switches to use Backend_EmitMCNull, which
allows CodeGen to run, but does not attempt to create or write an
output file.

Differential Revision: http://reviews.llvm.org/D17405

llvm-svn: 261252
2016-02-18 20:27:16 +00:00
..
CMakeLists.txt Avoid double deletion in Clang driver. 2016-02-18 16:42:09 +00:00
CodeGenActionTest.cpp Use Backend_EmitMCNull for null codegen unit tests. 2016-02-18 20:27:16 +00:00
FrontendActionTest.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00