diff options
author | Tim Northover <tnorthover@apple.com> | 2019-08-03 14:28:34 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2019-08-03 14:28:34 +0000 |
commit | 635dc81659beae702f00c1fd345cf126d293dc86 (patch) | |
tree | 1fb0feb67bcb0c41a02a04cd770e512f363d2688 /test/CodeGenCXX/runtime-dllstorage.cpp | |
parent | 06f756bc7e8301e70ee6ca7754c113f9296db9bf (diff) | |
download | clang-635dc81659beae702f00c1fd345cf126d293dc86.tar.gz |
IR: print value numbers for unnamed function arguments
For consistency with normal instructions and clarity when reading IR,
it's best to print the %0, %1, ... names of function arguments in
definitions.
Also modifies the parser to accept IR in that form for obvious reasons.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/runtime-dllstorage.cpp')
-rw-r--r-- | test/CodeGenCXX/runtime-dllstorage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenCXX/runtime-dllstorage.cpp b/test/CodeGenCXX/runtime-dllstorage.cpp index d89b5089dd..c8692b7384 100644 --- a/test/CodeGenCXX/runtime-dllstorage.cpp +++ b/test/CodeGenCXX/runtime-dllstorage.cpp @@ -116,7 +116,7 @@ void l() { // CHECK-IA-DAG: @_ZTH1t = dso_local alias void (), void ()* @__tls_init // CHECK-IA-DAG: declare dso_local i32 @__gxx_personality_v0(...) -// CHECK-IA-DAG: define linkonce_odr hidden void @__clang_call_terminate(i8*) +// CHECK-IA-DAG: define linkonce_odr hidden void @__clang_call_terminate(i8* %0) // CHECK-DYNAMIC-IA-DAG: declare dllimport i32 @__cxa_thread_atexit(void (i8*)*, i8*, i8*) // CHECK-DYNAMIC-IA-DAG: declare dllimport i32 @__cxa_atexit(void (i8*)*, i8*, i8*) |