summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/finishSwigPythonLLDB.py
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-11-11 17:54:37 +0000
committerDiego Novillo <dnovillo@google.com>2015-11-11 17:54:37 +0000
commit0354a9f67bf1a13bbc6ad316b8b58717bf3d2c48 (patch)
tree404ed58ab1384c586194640b13f783664c33d34c /lldb/scripts/Python/finishSwigPythonLLDB.py
parent0f40ea5dfe1132fff9e65c69bcd4ee50632ceb08 (diff)
downloadbcm5719-llvm-0354a9f67bf1a13bbc6ad316b8b58717bf3d2c48.tar.gz
bcm5719-llvm-0354a9f67bf1a13bbc6ad316b8b58717bf3d2c48.zip
SamplePGO - Fix PR 25482 - Do not rely on llvm.dbg.cu for discriminators
The discriminators pass relied on the presence of llvm.dbg.cu to decide whether to add discriminators, but this fails in the case where debug info is only enabled partially when -fprofile-sample-use is active. The reason llvm.dbg.cu is not present in these cases is to prevent codegen from emitting debug info (as it is only used for the sample profile pass). This changes the discriminators pass to also emit discriminators even when debug info is not being emitted. llvm-svn: 252763
Diffstat (limited to 'lldb/scripts/Python/finishSwigPythonLLDB.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud