aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileOutputBuffer.cpp
diff options
context:
space:
mode:
authorTiancong Wang <tcwang@google.com>2019-05-20 19:13:34 +0000
committerTiancong Wang <tcwang@google.com>2019-05-20 19:13:34 +0000
commita5d8d01d6f2c914a5a4781b2419024949008957d (patch)
tree11d7b75c59c868d45f884be8f234189e5344889a /llvm/lib/Support/FileOutputBuffer.cpp
parente1d38ec8110e0b8f8c8dbe357015e774ffffae26 (diff)
downloadllvm-a5d8d01d6f2c914a5a4781b2419024949008957d.zip
llvm-a5d8d01d6f2c914a5a4781b2419024949008957d.tar.gz
llvm-a5d8d01d6f2c914a5a4781b2419024949008957d.tar.bz2
[ELF][Driver] Fix precedence of symbol ordering file and CGProfile
This patch is a fix for https://bugs.llvm.org/show_bug.cgi?id=41804. We try to solve the precedence of user-specified symbol ordering file and C3 ordering provided as call graph. It deals with two case: (1) When both --symbol-ordering-file=<file> and --call-graph-order-file=<file> are present, whichever flag comes later will take precedence. (2) When only --symbol-ordering-file=<file> is present, it takes precedence over implicit call graph (CGProfile) generated by CGProfilePass enabled in new pass manager. llvm-svn: 361190
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions