Tags: flang-compiler/flang
Tags
[workflows] Enable verbose output with -v For debugging purpose, add a -v option to build-flang.sh to enable verbose output. The option sets $VERBOSE to an non-empty string which forces the CMake-generated Makefile to print every command it runs.
runtime: fix building of alarm3f.c on Linux systems with modern glibc Popular UNIX systems (e.g. Linux, MacOS) have alarm() function declared in unistd.h, there is no need to provide a separate forward declaration, which could go easily out of date and create a conflict at compile time. Signed-off-by: Paul Osmialowski <[email protected]>
win: Fix upperilm header generation clang-cl doesn't recognize "-P -E -x c" compiler arguments, we should use MSVC version of them "/E /TC". Seems clang-cl is not able to handle /P /E together so I only left the necessary one. Due to preprocessing upperilm.in, '#' will be represented in output. It needs to add a new list filter which exclude those lines which starts with '#'. Fixes: #1192
Fix private overwrite flag find_def_in_most_recent_scope() set the private bit to 0 when it found an alias. This was most likely unintended and could cause issues when resolving multiple definitions of the same symbol at a later stage (if a private symbol appeared to be publicly available). Tests for private flag overwrite added, based on flang github issue #890.