aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorTim Keith <tkeith@nvidia.com>2020-12-28 08:50:30 -0800
committerTim Keith <tkeith@nvidia.com>2020-12-28 08:50:32 -0800
commitd55627d221be8154cbdf454fa727afcc3f716b08 (patch)
treef095168f1a8cd28c981a697cc50d1da830e1d495 /llvm/lib/CodeGen/StackProtector.cpp
parent496fb70b141ccbfaba9761294f3b4b97717096a3 (diff)
downloadllvm-d55627d221be8154cbdf454fa727afcc3f716b08.zip
llvm-d55627d221be8154cbdf454fa727afcc3f716b08.tar.gz
llvm-d55627d221be8154cbdf454fa727afcc3f716b08.tar.bz2
[flang] Fix bugs in .mod file for abstract interface
When an abstract interface is defined, add the ABSTRACT attribute to subprogram symbols that define the interface body. Make use of that when writing .mod files to include "abstract" on the interface statement. Also, fix a problem with the order of symbols in a .mod file. Sometimes a name is mentioned before the "real" declaration, e.g. in an access statement. We want the order to be based on the real definitions. In these cases we replace the symbol name with an identical name with a different source location. Then by sorting based on the source location we get symbols in the right order. Differential Revision: https://reviews.llvm.org/D93572
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions