summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-11-14 04:54:47 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-11-14 04:54:47 +0000
commitd6da74f22b851d210158c606972a6a2186174633 (patch)
tree1af903388f2585968b89327008ea8b39bf8f22a3 /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parent4d7f90b06454aa5839b8ebcadf93a6997541714c (diff)
downloadbcm5719-llvm-d6da74f22b851d210158c606972a6a2186174633.tar.gz
bcm5719-llvm-d6da74f22b851d210158c606972a6a2186174633.zip
Demangle: only demangle mangled symbols
Only attempt to demangle symbols which have the itanium C++ prefix of `_Z`. This ensures that we do not treat any symbol name as a managled named. We would previously treat a C function `f` as a mangled name and decode that to `float` incorrectly. While it is easy to add tests for this, Mehdi recommended against introducing tests for the demangler as libc++abi should cover the testing. llvm-svn: 286795
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud