hanchenye-llvm-project/llvm
Andres Freund ac15cabd89 [ORC] Perform name mangling in findSymbolIn(), as done in findSymbol().
The lack of name mangling caused a unittest failure after r333147 (in
TestEagerIRCompilation), as OSX prefixes symbol names with '_'. The
lack of name mangling therefore leads to a NULL pointer being returned
and then called, hence the failure.

While it may look like it, this isn't an actual behavioral change, as
findSymbolIn() previously was not exposed externally, and essentially
dead code. Which explains why nobody noticed the issue previously.

Reviewers: lhames

Reviewed By: lhames

Subscribers: chandlerc, llvm-commits

Differential Revision: https://reviews.llvm.org/D47308

llvm-svn: 333206
2018-05-24 17:03:06 +00:00
..
bindings
cmake
docs
examples
include Add R_PPC64_IRELATIVE to PPC64 relocations. 2018-05-24 16:02:05 +00:00
lib [ORC] Perform name mangling in findSymbolIn(), as done in findSymbol(). 2018-05-24 17:03:06 +00:00
projects
resources
runtimes
test [UpdateTestChecks] Improved update_mca_test_checks block analysis 2018-05-24 16:36:44 +00:00
tools [llvm-exegesis] Analysis: Show value extents. 2018-05-24 12:41:02 +00:00
unittests [llvm-exegesis] Analysis: Show value extents. 2018-05-24 12:41:02 +00:00
utils [UpdateTestChecks] Improved update_mca_test_checks block analysis 2018-05-24 16:36:44 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.