summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPDirectives.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-11-03 08:21:51 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-11-03 08:21:51 +0000
commit8c825db25e32365652c9d68177224f8c3c1a551a (patch)
tree0dff873d733bbbbf74e69f6276538974552da14a /clang/lib/Lex/PPDirectives.cpp
parentcbed0e615b3658add66600d89e1d47c80a99a22d (diff)
downloadbcm5719-llvm-8c825db25e32365652c9d68177224f8c3c1a551a.tar.gz
bcm5719-llvm-8c825db25e32365652c9d68177224f8c3c1a551a.zip
[ELF] - Linkerscript: fixed non-determinism when handling MEMORY.
When findMemoryRegion do search to find a region for output section it iterates over MemoryRegions which is DenseMap and so does not guarantee iteration in insertion order. As a result selected region depends on its name and not on its definition position Testcase shows the issue, patch fixes it. Behavior after applying the patch seems consistent with bfd. Differential revision: https://reviews.llvm.org/D39544 llvm-svn: 317307
Diffstat (limited to 'clang/lib/Lex/PPDirectives.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud