summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-01-17 10:24:49 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-01-17 10:24:49 +0000
commit0b89c55aeafbb32f6c26693064a73d2b2e5a1d60 (patch)
treef496125aa04d21650451d01876a30dfafdcbeec6 /clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
parentfe7ef82cc54583dc99766aebb546993d02ba7a28 (diff)
downloadbcm5719-llvm-0b89c55aeafbb32f6c26693064a73d2b2e5a1d60.tar.gz
bcm5719-llvm-0b89c55aeafbb32f6c26693064a73d2b2e5a1d60.zip
[ELF] - Stop mixing order of -defsym/-script commands.
Previously we always handled -defsym after other commands in command line. That made impossible to overload values set by -defsym from linker script: test.script: foo = 0x22; -defsym=foo=0x11 -script t.script would always set foo to 0x11. That is inconstent with common logic which allows to override command line options. it is inconsistent with bfd behavior and seems breaks assumption that -defsym is the same as linker script assignment, as -defsyms always handled out of command line order. Patch fixes the handling order. Differential revision: https://reviews.llvm.org/D42054 llvm-svn: 322625
Diffstat (limited to 'clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud