diff options
| author | Tiancong Wang <tcwang@google.com> | 2019-05-20 19:13:34 +0000 |
|---|---|---|
| committer | Tiancong Wang <tcwang@google.com> | 2019-05-20 19:13:34 +0000 |
| commit | a5d8d01d6f2c914a5a4781b2419024949008957d (patch) | |
| tree | 11d7b75c59c868d45f884be8f234189e5344889a /llvm/lib/Support/Windows | |
| parent | e1d38ec8110e0b8f8c8dbe357015e774ffffae26 (diff) | |
| download | bcm5719-llvm-a5d8d01d6f2c914a5a4781b2419024949008957d.tar.gz bcm5719-llvm-a5d8d01d6f2c914a5a4781b2419024949008957d.zip | |
[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/Windows')
0 files changed, 0 insertions, 0 deletions

