summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/stdin-input.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix buildbot failure from r373217 (don't match metadata id exactly)Teresa Johnson2019-09-301-1/+1
| | | | | | | Fix this failure by ignoring the id of the metadata being checked: http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/3046/consoleFull#-21332887158254eaf0-7326-4999-85b0-388101f2d404 llvm-svn: 373237
* [Clang] Use -main-file-name for source filename if not setTeresa Johnson2019-09-301-0/+7
-main-file-name is currently used to set the source name used in debug information. If the source filename is "-" and -main-file-name is set, then use the filename also for source_filename and ModuleID of the output. The argument is generally used outside the internal clang calls when running clang in a wrapper like icecc which gives the source via stdin but still wants to get a object file with the original source filename both in debug info and IR code. Patch by: the_jk (Joel Klinghed) Differential Revision: https://reviews.llvm.org/D67592 llvm-svn: 373217
OpenPOWER on IntegriCloud